{% extends 'base.html' %} {% load static %} {% load projectroles_tags %} {% load projectroles_common_tags %} {% block title %}Login{% endblock title %} {% block content %} {% get_django_setting 'PROJECTROLES_TEMPLATE_INCLUDE_PATH' as template_include_path %}
{# Django messages / site app messages #} {% include 'projectroles/_messages.html' %} {# Display error if login was unsuccessful. #} {% if request.POST %}
Login failed. Please make sure the user name, domain and password are correct.
{% endif %}

Login

{% autoescape off %} {% get_login_info %} {% endautoescape %}
{# OpenID Connect (OIDC) auth #} {% get_django_setting 'ENABLE_OIDC' as enable_oidc %} {% if enable_oidc %}
{% include 'projectroles/_login_oidc.html' %}
{% endif %} {# Optional template for additional login page HTML #} {% template_exists template_include_path|add:'/_login_extend.html' as login_extend %} {% if login_extend %} {% include template_include_path|add:'/_login_extend.html' %} {% endif %}
{% endblock content %} {% block javascript %} {{ block.super }} {% get_django_setting 'SITE_INSTANCE_TITLE' as site_title %} {% get_django_setting 'ENABLE_LDAP' as enable_ldap %} {% get_django_setting 'PROJECTROLES_ALLOW_LOCAL_USERS' as allow_local_users %} {% endblock javascript %}