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, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/u2f_registrations_controller.rb b/app/controllers/profiles/u2f_registrations_controller.rb
index e6a154fb6aa..866c4dee6e2 100644
--- a/app/controllers/profiles/u2f_registrations_controller.rb
+++ b/app/controllers/profiles/u2f_registrations_controller.rb
@@ -4,6 +4,6 @@ class Profiles::U2fRegistrationsController < Profiles::ApplicationController
def destroy
u2f_registration = current_user.u2f_registrations.find(params[:id])
u2f_registration.destroy
- redirect_to profile_two_factor_auth_path, status: 302, notice: "Successfully deleted U2F device."
+ redirect_to profile_two_factor_auth_path, status: 302, notice: _("Successfully deleted U2F device.")
end
end