{% extends 'base.html.twig' %} {% block body_id 'login' %} {% block main %} {% if error %}
{{ error.messageKey|trans(error.messageData, 'security') }}
{% endif %} {# This references the Stimulus controller defined in "assets/controllers/login-controller.js". See https://symfony.com/doc/current/frontend/encore/simple-example.html#stimulus-symfony-ux More info on Symfony UX https://ux.symfony.com #}
{{ 'title.login'|trans }}

{{ 'help.login_users'|trans }}

{{ 'label.username'|trans }} {{ 'label.password'|trans }} {{ 'label.role'|trans }}
john_user kitten ROLE_USER ({{ 'help.role_user'|trans }})
jane_admin kitten ROLE_ADMIN ({{ 'help.role_admin'|trans }})

{{ 'note'|trans }} {{ 'help.reload_fixtures'|trans }}
$ php bin/console doctrine:fixtures:load

{{ 'tip'|trans }} {{ 'help.add_user'|trans }}
$ php bin/console app:add-user

{% endblock %} {% block sidebar %} {{ parent() }} {{ show_source_code(_self) }} {% endblock %}