summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
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