mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
9b1f2a4b61
Fix #2744
9 lines
372 B
Text
9 lines
372 B
Text
- 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' }
|