mirror of https://github.com/glitch-soc/mastodon
10 lines
383 B
Plaintext
10 lines
383 B
Plaintext
- content_for :page_title do
|
|
= t('auth.login')
|
|
|
|
= flavoured_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' }
|