summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPavel Forkert <fxposter@gmail.com>2015-09-24 16:14:16 +0300
committerPavel Forkert <fxposter@gmail.com>2015-09-24 16:14:16 +0300
commit83347954fc3c0c317c77f0528cdbaa456093771a (patch)
treeb9d2a290f762270b11c3753853b7d7584c1966c1 /config
parentf2999fe8f3709775ea2151fa3dcd7c456267edb2 (diff)
downloadgitlab-ce-83347954fc3c0c317c77f0528cdbaa456093771a.tar.gz
Add option to admin area to sign in as a specific user
Closes #2291
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4a07c449b4e..5f7d06a620e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -262,6 +262,7 @@ Gitlab::Application.routes.draw do
put :unblock
put :unlock
put :confirm
+ put :login_as
patch :disable_two_factor
delete 'remove/:email_id', action: 'remove_email', as: 'remove_email'
end