Merge pull request #3947 from alphagov/allow-ccs

Allow other users to use security keys
This commit is contained in:
Ben Thorner
2021-07-08 11:53:03 +01:00
committed by GitHub
13 changed files with 107 additions and 90 deletions

View File

@@ -11,9 +11,9 @@
{% endif %}
{% if service_has_email_auth %}
{% if user.platform_admin %}
{% if user.webauthn_auth %}
<p class="bottom-gutter">
Platform admin users will login with a security key.
This user will login with a security key.
</p>
{% elif not mobile_number %}
{{ radios(

View File

@@ -45,7 +45,7 @@
{{ edit_field('Change', url_for('.user_profile_password')) }}
{% endcall %}
{% if current_user.platform_admin %}
{% if current_user.can_use_webauthn %}
{% call row(id='security-keys') %}
{{ text_field('Security keys') }}
{{ optional_text_field(