diff options
Diffstat (limited to 'app/controllers/profiles/two_factor_auths_controller.rb')
-rw-r--r-- | app/controllers/profiles/two_factor_auths_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/profiles/two_factor_auths_controller.rb b/app/controllers/profiles/two_factor_auths_controller.rb index bc6e67a3a7d..e83b72b71a8 100644 --- a/app/controllers/profiles/two_factor_auths_controller.rb +++ b/app/controllers/profiles/two_factor_auths_controller.rb @@ -35,9 +35,9 @@ class Profiles::TwoFactorAuthsController < Profiles::ApplicationController render 'create' else @error = { message: _('Invalid pin code.') } - @qr_code = build_qr_code @account_string = account_string - setup_webauthn_registration + + setup_show_page render 'show' end |