Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-02 21:57:36 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-10 00:31:39 +0300
commit8ae712ae28eda669987c48a755fc9f94ac48b5e7 (patch)
tree92569654f459aaea0b475c66dd263259c2a7b6c0 /config
parent802fcd051fcbc9be99230bddb13c4a7cb8067741 (diff)
Render 2fa recovery codes instead of downloading it
Diffstat (limited to 'config')
-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