about summary refs log tree commit diff
path: root/app/views/auth/sessions/two_factor.html.haml
blob: 1867ec7f8a140938473ab6860c669746dc0c567e (plain) (blame)
1
2
3
4
5
6
7
- content_for :page_title do
  = t('auth.login')

- if @webauthn_enabled
  = render partial: 'auth/sessions/two_factor/webauthn_form', locals: { hidden: @scheme_type != 'webauthn' }

= render partial: 'auth/sessions/two_factor/otp_authentication_form', locals: { hidden: @scheme_type != 'totp' }