|
@@ -9,28 +9,26 @@
|
|
|
{% if error %}
|
|
|
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
|
|
{% endif %}
|
|
|
- <div class="form-floating mb-3">
|
|
|
+ <div class="form-floating">
|
|
|
<input type="text" value="{{ last_username }}" name="_username" id="inputUsername" class="form-control" placeholder="Identifiant" required autofocus>
|
|
|
<label for="inputUsername">Login</label>
|
|
|
</div>
|
|
|
- <div class="form-floating">
|
|
|
+ <div class="form-floating mb-3">
|
|
|
<input type="password" name="_password" id="inputPassword" class="form-control" placeholder="Mot de passe" required>
|
|
|
<label for="inputPassword">Mot de passe</label>
|
|
|
</div>
|
|
|
- <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
|
|
-
|
|
|
+
|
|
|
{#
|
|
|
- Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
|
|
|
- See https://symfony.com/doc/current/security/remember_me.html
|
|
|
+ Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
|
|
|
+ See https://symfony.com/doc/current/security/remember_me.html
|
|
|
#}
|
|
|
<div class="checkbox mb-3">
|
|
|
<input type="checkbox" name="_remember_me">
|
|
|
<label for="remember_me">Se souvenir de moi</label>
|
|
|
</div>
|
|
|
|
|
|
- <button class="btn btn-primary mb-3" type="submit">
|
|
|
- Se connecter
|
|
|
- </button>
|
|
|
+ <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
|
|
+ <button class="btn btn-primary mb-3" type="submit">Se connecter</button>
|
|
|
</form>
|
|
|
<div class="">
|
|
|
<div class="hr">
|