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:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-16 19:18:36 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-08-18 19:42:02 +0300
commit16c44a5ddd8551224bd94318727a32b52a68425d (patch)
tree0b8c54141b147872151542c83282abc2acb2f2cb /config
parent1b338d59f641ce629cbecb839b64c9fd65561276 (diff)
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')
-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