{% extends "allauth/layouts/entrance.html" %} {% load i18n socialaccount %} {% comment %} Themis override of allauth's login page. allauth's bundled login renders bare, unstyled inputs/buttons via its element macros; this version renders the same Django `form` with DaisyUI styling inside the themed auth card (see allauth/layouts/base.html). SSO is offered first when Casdoor is enabled; the local email/password form is gated on ALLOW_LOCAL_LOGIN (both flags come from themis.context_processors.themis_settings). {% endcomment %} {% block head_title %}{% trans "Sign In" %}{% endblock %} {% block content %}
{% url 'account_reset_password' as reset_url %} {% trans "Forgot your password?" %}
{% endif %} {% if not ALLOW_LOCAL_LOGIN and not CASDOOR_ENABLED %}