{% load bootstrap3 i18n l10n djangofloor %}

{% trans 'Authentication' %}

{% with ok='' ko='' %}
  • {% trans 'Local passwords: ' %} {% if local_users %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% if local_users %}
  • {% trans 'Allow visitors to create an account: ' %}{% if allow_user_creation %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% endif %}
  • {% trans 'Social external authentications: ' %} {% if allauth %}{{ allauth|join:', ' }} {% else %}{{ ko }}{% endif %}
  • {% trans 'PAM authentication: ' %} {% if pam %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% trans 'Basic HTTP authentication: ' %} {% if basic_auth %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% trans 'HTTP authentication by header: ' %} {% if remote_user %}{{ remote_user|upper }}{% else %}{{ ko }}{% endif %}
  • {% if remote_user %}
  • {% trans 'Automatically create new users: ' %}{% if allow_user_creation %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% endif %} {% if remote_user and remote_user_groups %}
  • {% trans 'Groups of new users: '%}{{ remote_user_groups|join:', ' }}
  • {% endif %}
  • {% trans 'LDAP authentication: ' %} {% if ldap %}{{ ok }}{% else %}{{ ko }}{% endif %}
  • {% trans 'Maximum time between successive authentications: ' %}{{ session_age }}
{% endwith %}