{# Extension of login page #}
{% extends '::root.html.twig' %}

{% block title %}Keosu Authentication{% endblock %}

{% block skeleton %}
	<div class="wellcustom" id="login-container">
	{% block fos_user_content %}
		<div class="logotop" style="text-align:center;"><img class="logotop" src="http://localhost/keosu/web/img/logo_black.png"></div>
		{% if error %}
		    <div>{{ error|trans({}, 'FOSUserBundle') }}</div>
		{% endif %}
		<div class="container">
			<div class="logincontainer">
				<form action="{{ path("fos_user_security_check") }}" method="post">
				    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
				
				    <label for="username">Username:</label>
				    <input class="form-control" type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
				
				    <label for="password">Password</label>
				    <input class="form-control" type="password" id="password" name="_password" required="required" />
					<br/>
				    <input id="spinner-load" class="form-control" type="submit" id="_submit" name="_submit" value="Se connecter" />
				</form>
			</div>
		</div>
	{% endblock fos_user_content %}
	</div>
{% endblock %}

{# Extension of login page #}
{% extends '::root.html.twig' %}

{% block title %}Keosu Authentication{% endblock %}

{% block skeleton %}
	<div class="wellcustom" id="login-container">
	{% block fos_user_content %}
		<div class="logotop" style="text-align:center;"><img class="logotop" src="http://localhost/keosu/web/img/logo_black.png"></div>
		{% if error %}
		    <div class="alert alert-danger" role="alert">Erreur de connexion, vérifiez votre mot de passe</div>
		{% endif %}
		<div class="container">
			<div class="logincontainer">
				<form action="{{ path("fos_user_security_check") }}" method="post">
				    <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
				
				    <label for="username">Username:</label>
				    <input class="form-control" type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
				
				    <label for="password">Password</label>
				    <input class="form-control" type="password" id="password" name="_password" required="required" />
					<br/>
				    <input id="spinner-load" class="form-control" type="submit" id="_submit" name="_submit" value="Se connecter" />
				</form>
			</div>
		</div>
	{% endblock fos_user_content %}
	</div>
{% endblock %}

Fix error message on connect
Fix error message on connect
