</p>
{/if}
-{if $smarty.request.response}<!-- failed login code //-->
-<div class="erreur">
- Erreur d'identification. Essaie à nouveau !
-</div>
-<br />
-{/if}
-
<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit="doChallengeResponse(); return false;" style="display: none">
<table class="bicol" cellpadding="4" summary="Formulaire de login">
<tr>
Mot de passe :
</td>
<td>
- <input type="password" name="password" size="10" maxlength="10" />
+ <input type="password" name="password" size="10" maxlength="256" />
</td>
</tr>
<tr>
<!-- Set up the form with the challenge value and an empty reply value //-->
<form action="{$smarty.server.REQUEST_URI}" method="post" id="loginsub">
<div>
+ {xsrf_token_field}
<input type="hidden" name="challenge" value="{$smarty.session.challenge}" />
<input type="hidden" name="response" value="" />
<input type="hidden" name="xorpass" value="" />