summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-16 21:48:36 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-08-18 22:12:02 +0530
commit16c44a5ddd8551224bd94318727a32b52a68425d (patch)
tree0b8c54141b147872151542c83282abc2acb2f2cb /config/routes.rb
parent1b338d59f641ce629cbecb839b64c9fd65561276 (diff)
downloadgitlab-ce-16c44a5ddd8551224bd94318727a32b52a68425d.tar.gz
Allow naming U2F devices.
1. Display a list of U2F devices on the `two_factor_auth` page. 2. Allow deleting individual U2F devices. 3. Allow setting a (optional) name for a device (during registration).
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 63a8827a6a2..da431ccc43d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -375,6 +375,8 @@ Rails.application.routes.draw do
patch :skip
end
end
+
+ resources :u2f_registrations, only: [:destroy]
end
end