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:
authorPavel Forkert <fxposter@gmail.com>2015-09-24 16:34:04 +0300
committerPavel Forkert <fxposter@gmail.com>2015-09-24 16:34:04 +0300
commiteb9528b8b964c78ef3d33818286c529b83c35a5e (patch)
tree9cec858861f8ff8c3099e6d6ef00d2b5409f597a /config
parent83347954fc3c0c317c77f0528cdbaa456093771a (diff)
Move login button to user page, switched to POST method
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 5f7d06a620e..0792cb559e5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -262,7 +262,7 @@ Gitlab::Application.routes.draw do
put :unblock
put :unlock
put :confirm
- put :login_as
+ post :login_as
patch :disable_two_factor
delete 'remove/:email_id', action: 'remove_email', as: 'remove_email'
end