summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/u2f_registrations_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/profiles/u2f_registrations_controller.rb')
-rw-r--r--app/controllers/profiles/u2f_registrations_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/profiles/u2f_registrations_controller.rb b/app/controllers/profiles/u2f_registrations_controller.rb
index 84ce4a56e64..32ca303e722 100644
--- a/app/controllers/profiles/u2f_registrations_controller.rb
+++ b/app/controllers/profiles/u2f_registrations_controller.rb
@@ -1,6 +1,8 @@
# frozen_string_literal: true
class Profiles::U2fRegistrationsController < Profiles::ApplicationController
+ feature_category :authentication_and_authorization
+
def destroy
u2f_registration = current_user.u2f_registrations.find(params[:id])
u2f_registration.destroy