diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-11-06 11:56:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 11:56:31 +0100 |
commit | 9b1f2a4b61660f9a8be62f6296d97a856e376059 (patch) | |
tree | dd60029f03394a924d7168277582f0e6c835a9a1 /app/views/auth | |
parent | 68d4b2b83e124719f8473489ee8c1743ca848dc4 (diff) |
Add subresource integrity for JS and CSS assets (#15096)
Fix #2744
Diffstat (limited to 'app/views/auth')
-rw-r--r-- | app/views/auth/sessions/two_factor.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/sessions/two_factor.html.haml b/app/views/auth/sessions/two_factor.html.haml index f2f6fe19d..b897a0422 100644 --- a/app/views/auth/sessions/two_factor.html.haml +++ b/app/views/auth/sessions/two_factor.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('auth.login') -=javascript_pack_tag 'two_factor_authentication', integrity: true, crossorigin: 'anonymous' +=javascript_pack_tag 'two_factor_authentication', crossorigin: 'anonymous' - if @webauthn_enabled = render partial: 'auth/sessions/two_factor/webauthn_form', locals: { hidden: @scheme_type != 'webauthn' } |