{% load static %} Login — {{ branding.site_name }} {{ form.media }}
{% if form.errors %}
{% if form.captcha.errors %} reCAPTCHA error: {{ form.captcha.errors.0 }}

Real keys only work on domains listed in Google reCAPTCHA admin (e.g. localhost, 127.0.0.1, your domain). Private IPs like 192.168.x.x cannot be added — use test keys for phone dev.

{% elif form.non_field_errors %} {{ form.non_field_errors.0 }} {% else %} Invalid credentials. Please try again. {% endif %}
{% endif %}
{% csrf_token %} {{ form.username }} {{ form.password }}
{{ form.captcha }}
{% if debug %}

Server site key: {{ recaptcha_key_prefix }}… {% if recaptcha_is_test_key %}(test key){% else %}(your key){% endif %} — If the box still says “testing purposes only”, press Ctrl+Shift+R or use Incognito.

{% endif %}

System Status