mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 11:58:25 -04:00
Add webauth as an auth type
When showing what auth type user uses to sign in, add a text for users with webauthn. On password change or sign in, throw not implemented error if user uses webauthn auth.
This commit is contained in:
@@ -66,8 +66,10 @@
|
||||
<p class="govuk-body tick-cross-list-hint">
|
||||
{% if user.auth_type == 'sms_auth' %}
|
||||
Signs in with a text message code
|
||||
{% else %}
|
||||
{% elif user.auth_type == 'email_auth' %}
|
||||
Signs in with an email link
|
||||
{% elif user.auth_type == 'webauthn_auth' %}
|
||||
Signs in with a security key
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user