diff options
Diffstat (limited to 'app/controllers/settings/two_factor_auths_controller.rb')
-rw-r--r-- | app/controllers/settings/two_factor_auths_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/two_factor_auths_controller.rb b/app/controllers/settings/two_factor_auths_controller.rb index bfe3868f3..a06b2a9f9 100644 --- a/app/controllers/settings/two_factor_auths_controller.rb +++ b/app/controllers/settings/two_factor_auths_controller.rb @@ -26,7 +26,7 @@ class Settings::TwoFactorAuthsController < ApplicationController @confirmation = Form::TwoFactorConfirmation.new set_qr_code flash.now[:alert] = I18n.t('two_factor_auth.wrong_code') - render action: :new + render :new end end |