{% extends "base.html" %} {% block title %}{{ _('Sign In') }} — {{ service_name }}{% endblock %} {# hide user area in navbar #} {% block navbar_userarea %} {% if is_for_refresh %} {{ super() }} {% endif %} {% endblock %} {% block content %}

{{ _('Sign in to %(service_name)s', service_name=service_name) }}

{% if is_for_refresh %}
{{ _('To ensure the security of your account information, please sign in again.') }}
{% else %}
{% if is_ldap_configured %} {{ _('If you have an LDAP account, you can use your LDAP username to sign in. Otherwise, if you do not have a %(service_name)s account yet, please ask another user for an invitation.', service_name=service_name) }} {% else %} {{ _('If you do not have a %(service_name)s account yet, please ask another user for an invitation.', service_name=service_name) }} {% endif %}
{% endif %}
{{ form.csrf_token() }}
{% if not is_for_refresh %} {% endif %}
{% if config['ENABLE_FIDO2_PASSKEY_AUTHENTICATION'] %}
{{ _('or') }}
{{ passkey_form.hidden_tag() }}
{% endif %}
{% if not is_for_refresh %}
{% endif %} {% endblock %} {% block template_values %} {% do set_template_value("config.enable_fido2_passkey_authentication", config['ENABLE_FIDO2_PASSKEY_AUTHENTICATION']) %} {% 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 %}