{% extends 'base.html.twig' %}
{% block body %}
    {% if error %}
        <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
    {% endif %}

    <form action="{{ path('fback_user_login_check') }}" method="post">
        <label for="email">Email:</label>
        <input type="text" id="email" name="_username" value="{{ last_username }}" />

        <label for="password">Mot de passe:</label>
        <input type="password" id="password" name="_password" />

        <button type="submit">Connexion</button>
    </form>
    <div>
        <a href="{{ path('front_user_forget_pass') }}">Mot de passe oublié</a>
    </div>
{% endblock %}
{% extends 'base.html.twig' %}
{% block body %}
    {% if error %}
        <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
    {% endif %}

    <form action="{{ path('back_admin_login_check') }}" method="post">
        <label for="email">Email:</label>
        <input type="text" id="email" name="_username" value="{{ last_username }}" />

        <label for="password">Mot de passe:</label>
        <input type="password" id="password" name="_password" />

        <button type="submit">Connexion</button>
    </form>
    <div>
        <a href="{{ path('front_user_forget_pass') }}">Mot de passe oublié</a>
    </div>
{% endblock %}
Add Admin Login (doen't work)
Add Admin Login (doen't work)
