{% extends "base.html" %} {% load socialaccount %} {% block title %}Sign in ยท DemandTrail Messaging{% endblock %} {% block auth_content %}
{% include "partials/_auth_brand.html" with heading="Sign in" subheading="Welcome back to DemandTrail Messaging." %} {% comment %} The provider button is a POST form, not a link: SOCIALACCOUNT_LOGIN_ON_GET is False so a GET-initiated flow would only reach allauth's interstitial, and a GET-initiated login is CSRF-forgeable. Studio's shared provider element renders an and has exactly that inconsistency. {% endcomment %} {% if google_configured %} {% get_providers as socialaccount_providers %} {% for provider in socialaccount_providers %} {% provider_login_url provider process="login" as provider_url %}
{% csrf_token %} {% if redirect_field_value %} {% endif %}
{% endfor %}
or
{% endif %}
{% csrf_token %} {% include "partials/_auth_form_fields.html" %} {{ redirect_field }}

No account yet? Create one.

{% endblock %}