{% include "partials/_auth_brand.html" with heading="Welcome to Cocoyam" subheading="Sign in or create your free account." %}
{% if sso_enabled %}
{% include "sso/_buttons.html" %}
{% else %}
{% comment %}
Self-hosted installs without Amaete accounts keep upstream's own sign-in.
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.
{% endcomment %}
{% if google_configured %}
{% get_providers as socialaccount_providers %}
{% for provider in socialaccount_providers %}
{% provider_login_url provider process="login" as provider_url %}
{% endfor %}