{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
</div>
<br />
-<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit='doChallengeResponse(); return false;'>
+<form action="{$smarty.server.REQUEST_URI}" method="post" id="login" onsubmit='doChallengeResponseLogged(); return false;'>
<table class="bicol" cellpadding="4" summary="Formulaire de login">
<tr>
<td class="titre">
<div>
{xsrf_token_field}
<input type="hidden" name="challenge" value="{$smarty.session.challenge}" />
- <input type="hidden" name="username" value="{$smarty.cookies.ORGuid}" />
- <input type="hidden" name="xorpass" value="" />
+ <input type="hidden" name="username" value="{$smarty.session.uid}" />
<input type="hidden" name="remember" value="" />
<input type="hidden" name="response" value="" />
</div>