diff options
Diffstat (limited to 'app/controllers/settings/two_factor_authentications_controller.rb')
-rw-r--r-- | app/controllers/settings/two_factor_authentications_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/settings/two_factor_authentications_controller.rb b/app/controllers/settings/two_factor_authentications_controller.rb index e632d39cf..6904076e4 100644 --- a/app/controllers/settings/two_factor_authentications_controller.rb +++ b/app/controllers/settings/two_factor_authentications_controller.rb @@ -2,6 +2,9 @@ module Settings class TwoFactorAuthenticationsController < BaseController + layout 'admin' + + before_action :authenticate_user! before_action :verify_otp_required, only: [:create] skip_before_action :require_functional! |