{% if error %}
    <div>{{ error.message }}</div>
{% endif %}
 
<form action="{{ path('login_check') }}" method="post">
    <label for="username">Username:</label>
    <input type="text" id="username" name="_username" value="{{ last_username }}" />
 
    <label for="password">Password:</label>
    <input type="password" id="password" name="_password" />
 
    <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
    {# #Redirect to admin candidacy page
        <input type="hidden" name="_target_path" value="/candidacy" />
    #}
 
    <button type="submit">login</button>
</form>
Add security login default page
Add security login default page
