{% extends "base.html" %} {% block title %}{{ _('Use FIDO2 Passkey') }} — {{ service_name }}{% endblock %} {% block content %}

{{ _('Use FIDO2 Passkey') }}

{{ confirm_form.hidden_tag() }}

{% if reason == 'login' %} {{ _('Please click "Sign In" and then use your FIDO2 passkey to complete the sign in process.') }} {% elif reason == 'activate_two_factor_authentication_method' %} {{ _('Please click "Confirm" and then use your FIDO2 passkey to activate this two-factor authentication method.') }} {% elif reason == 'deactivate_two_factor_authentication_method' %} {% if method_to_deactivate.data.get('description') %} {% set method_description = method_to_deactivate.data['description'] %} {% elif method_to_deactivate.data.get('type') == 'totp' %} {% set method_description = _('TOTP-based Two-Factor Authentication') %} {% else %} {% set method_description = _('Unknown Two-Factor Authentication Method') %} {% endif %} {{ _('Please click "Confirm" and then use your FIDO2 passkey to confirm that you want to deactivate %(method_description)s.', method_description=method_description) }} {% endif %}

{% if description %}

"{{ description }}"

{% endif %}
{{ _('Cancel') }}
{% endblock %} {% block template_values %} {% do set_template_value("fido2_options", dict(options)) %} {% do set_template_value("translations.passkey_failed", _('The passkey failed to authenticate with the following error: ')) %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}