summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-10 17:11:18 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-10 17:18:17 -0400
commit800df45db2dd9f3baf8377896ecde8a917901fe6 (patch)
treec6da56aa6b6e3597f00cded3e095817b6a753c42 /config
parent22724418d350001e2683b68fad65186af783d3f2 (diff)
downloadgitlab-ce-800df45db2dd9f3baf8377896ecde8a917901fe6.tar.gz
Add disable_two_factor route for Admin::Users
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 fd04d7b2f54..055d59a0c93 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -159,6 +159,7 @@ Gitlab::Application.routes.draw do
put :block
put :unblock
put :unlock
+ patch :disable_two_factor
delete 'remove/:email_id', action: 'remove_email', as: 'remove_email'
end
end