{% extends "base.html" %} {% load socialaccount %} {% block title %}Sign in · Cocoyam{% endblock %} {% block auth_content %}
{% 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 %}
{% 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.

{% endif %}

Home · Source code · Privacy

{% endblock %}