Adapt 2FA changes to glitch-soc's theming system
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
- content_for :page_title do
|
||||
= t('auth.login')
|
||||
|
||||
=javascript_pack_tag 'two_factor_authentication', integrity: true, crossorigin: 'anonymous'
|
||||
|
||||
- if @webauthn_enabled
|
||||
= render partial: 'auth/sessions/two_factor/webauthn_form', locals: { hidden: @scheme_type != 'webauthn' }
|
||||
|
||||
|
@ -12,5 +12,3 @@
|
||||
|
||||
.actions
|
||||
= f.button :button, t('webauthn_credentials.add'), class: 'js-webauthn', type: :submit
|
||||
|
||||
= javascript_pack_tag 'two_factor_authentication', integrity: true, crossorigin: 'anonymous'
|
||||
|
Reference in New Issue
Block a user