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

=javascript_pack_tag 'two_factor_authentication', crossorigin: 'anonymous'

- 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' }