summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-02 11:57:36 -0700
committerRobert Speicher <rspeicher@gmail.com>2015-05-09 17:31:39 -0400
commit8ae712ae28eda669987c48a755fc9f94ac48b5e7 (patch)
tree92569654f459aaea0b475c66dd263259c2a7b6c0 /config/routes.rb
parent802fcd051fcbc9be99230bddb13c4a7cb8067741 (diff)
downloadgitlab-ce-8ae712ae28eda669987c48a755fc9f94ac48b5e7.tar.gz
Render 2fa recovery codes instead of downloading it
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
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