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:
Pea Tyczynska
2021-05-12 17:24:47 +01:00
parent 78824f54fd
commit 2a756f90d4
4 changed files with 12 additions and 2 deletions

View File

@@ -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 %}