nyastodon/app/views/auth/sessions/two_factor.html.haml
2020-08-30 17:26:18 +02:00

7 lines
296 B
Text

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