mastodon/app/views/auth/sessions/two_factor.html.haml
2024-06-07 18:13:38 +02:00

10 lines
376 B
Plaintext

- content_for :page_title do
= t('auth.login')
= vite_typescript_tag 'two_factor_authentication.ts', 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' }