about summary refs log tree commit diff
path: root/app/controllers/settings/two_factor_authentications_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/two_factor_authentications_controller.rb')
-rw-r--r--app/controllers/settings/two_factor_authentications_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/settings/two_factor_authentications_controller.rb b/app/controllers/settings/two_factor_authentications_controller.rb
index 8c7737e9d..e632d39cf 100644
--- a/app/controllers/settings/two_factor_authentications_controller.rb
+++ b/app/controllers/settings/two_factor_authentications_controller.rb
@@ -4,6 +4,8 @@ module Settings
   class TwoFactorAuthenticationsController < BaseController
     before_action :verify_otp_required, only: [:create]
 
+    skip_before_action :require_functional!
+
     def show
       @confirmation = Form::TwoFactorConfirmation.new
     end