two_factor.html.haml 372 B

123456789
  1. - content_for :page_title do
  2. = t('auth.login')
  3. =javascript_pack_tag 'two_factor_authentication', crossorigin: 'anonymous'
  4. - if @webauthn_enabled
  5. = render partial: 'auth/sessions/two_factor/webauthn_form', locals: { hidden: @scheme_type != 'webauthn' }
  6. = render partial: 'auth/sessions/two_factor/otp_authentication_form', locals: { hidden: @scheme_type != 'totp' }