{% extends "base.html" %} {% load i18n %} {% block head_title %}Sign In{% endblock %} {% block content %}

Sign in to your account

{% comment %} allauth's signup_url carries ?next= over. allauth leaves it empty under SOCIALACCOUNT_ONLY. {% endcomment %} {% if signup_url %}

Don't have an account? Sign up

{% endif %}
{% if PASSKEY_LOGIN_ENABLED %}
Fastest & most secure
{% comment %} form="mfa_login" ties the button to the hidden form that mfa/webauthn/snippets/login_script.html renders: allauth's script reads the button's form, and without one the click does nothing. {% endcomment %}
{% endif %} {% if SOCIALACCOUNT_ENABLED %} {% include "account/snippets/social_buttons.html" with process="login" verb="Continue" %} {% endif %}
or sign in with email
{% csrf_token %} {{ redirect_field }} {% for field in form %}
{{ field }} {% if field.errors %} {% for error in field.errors %}

{{ error }}

{% endfor %} {% endif %}
{% endfor %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% endblock %} {% block extra_body %} {% if PASSKEY_LOGIN_ENABLED %} {% include "mfa/webauthn/snippets/login_script.html" with button_id="passkey_login" %} {% endif %} {% endblock %}