Allow 2FA for SAML and LDAP users (#4000)
* inline totp image as data uri to prevent caching issues * allow 2fa for ldap and saml users * allow 2FA access for super admin to all profiles
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
{{ 'profile.2fa_intro'|trans }}
|
||||
</p>
|
||||
<p>
|
||||
<img src="{{ path('user_profile_2fa_image', {'username': user.username}) }}" alt="TOTP QR Code" style="max-width: 200px; max-height: 200px;" />
|
||||
<img alt="TOTP QR Code" style="max-width: 200px; max-height: 200px;" src="{{ qr_code.dataUri }}" />
|
||||
</p>
|
||||
{% if user.totpAuthenticationEnabled %}
|
||||
<div class="row mb-3">
|
||||
|
||||
Reference in New Issue
Block a user