mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 01:19:27 -04:00
This changeset removes webauthn from the Notify.gov admin app. We are not using webauthn at all in our implementation and will be looking at an entirely different authentication system in the near future. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
24 lines
715 B
HTML
24 lines
715 B
HTML
{% from "components/radios.html" import radio, radios, conditional_radio_panel %}
|
|
|
|
{{ form.permissions_field }}
|
|
|
|
{% if form.folder_permissions.all_template_folders %}
|
|
{{ form.folder_permissions }}
|
|
{% elif user and user.platform_admin %}
|
|
<p class="bottom-gutter govuk-body">
|
|
Platform admin users can access all template folders.
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if service_has_email_auth %}
|
|
{% if not mobile_number %}
|
|
{{ radios(
|
|
form.login_authentication,
|
|
disable=['sms_auth'],
|
|
option_hints={'sms_auth': 'Not available because this team member has not added a phone number to their profile'|safe}
|
|
) }}
|
|
{% else %}
|
|
{{ radios(form.login_authentication) }}
|
|
{% endif %}
|
|
{% endif %}
|