{% extends "base.html" %} {% block title %}{{ t('sign_in.title') }} — painfree{% endblock %} {% block body %}
{{ t('sign_in.lede') }}
{% if not accounts_exist %} {# The state a deployment is in between `migrate` and `create-admin`. Every credential is refused, and a form that rejects everything with no explanation is the same screen as a broken password. #}{{ t('sign_in.no_accounts') }}
python -m painfree create-admin <name>
{{ t('sign_in.throttled') }}
{% endblock %}