mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Merge pull request #3947 from alphagov/allow-ccs
Allow other users to use security keys
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user