mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-12 08:39:04 +01:00
7208edbd37
Packs are now loaded from views, just like upstream, and are identified by their filenames. The definition of `theme.yml` has changed as such: - `pack_directory` is now required - `pack` is now unused - `signed_in_preload` has been introduced
9 lines
383 B
Text
9 lines
383 B
Text
- 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' }
|