diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-02 11:57:36 -0700 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:31:39 -0400 |
commit | 8ae712ae28eda669987c48a755fc9f94ac48b5e7 (patch) | |
tree | 92569654f459aaea0b475c66dd263259c2a7b6c0 /config/routes.rb | |
parent | 802fcd051fcbc9be99230bddb13c4a7cb8067741 (diff) | |
download | gitlab-ce-8ae712ae28eda669987c48a755fc9f94ac48b5e7.tar.gz |
Render 2fa recovery codes instead of downloading it
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index bcd68ad6ae2..bf2cb6421c5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -228,7 +228,7 @@ Gitlab::Application.routes.draw do resource :avatar, only: [:destroy] resource :two_factor_auth, only: [:new, :create, :destroy] do member do - get :codes + post :codes end end end |