{% 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 %}
{% endblock %}