1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 14:58:38 +09:00
YuruToot/app/views/auth/sessions/two_factor.html.haml
2023-03-15 04:15:36 +01:00

10 lines
373 B
Plaintext

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