{% extends 'auth/master.twig' %} {% from 'macros.twig' import container_title %} {% from 'auth/macros.twig' import auth_login %} {% block content %} {{ auth_login( auth_username|default(''), auth_register_message|default(auth_login_error|default('')), auth_register_message is defined ) }} {% if can_create_account %}
{{ 'register'|csrf|raw }} {{ container_title('Register') }} {% if auth_register_error is defined %}
{{ auth_register_error }}
{% endif %}
{% endif %} {% if can_reset_password %}
{{ 'passforgot'|csrf|raw }} {{ container_title('Forgot password') }} {% if auth_forgot_error is defined %}
{{ auth_forgot_error }}
{% endif %}
{% endif %} {% endblock %}