n'envoie plus le hash du mot de passe directement quand on change de mot de passe
[platal.git] / templates / motdepasse.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23
24 <h1>
25   Changer de mot de passe
26 </h1>
27
28 <p>
29   Ton mot de passe doit faire au moins <strong>6 caractères</strong> quelconques. Attention
30   au type de clavier que tu utilises (qwerty?) et aux majuscules/minuscules.
31 </p>
32 <p>
33   Pour une sécurité optimale, ton mot de passe circule de manière cryptée (https) et est
34   stocké crypté irréversiblement sur nos serveurs.
35 </p>
36 <br />
37 <form action="{$smarty.server.REQUEST_URI}" method="post" id="changepass">
38   <table class="tinybicol" cellpadding="3" cellspacing="0"
39     summary="Formulaire de mot de passe">
40     <tr>
41       <th colspan="2">
42         Saisie du nouveau mot de passe
43       </th>
44     </tr>
45     <tr>
46       <td class="titre">
47         Ancien mot de passe :
48       </td>
49       <td>
50         <input type="hidden" name="challenge" value="{$smarty.session.session->challenge}" />
51         <input type="password" size="10" maxlength="10" name="ancien" />
52       </td>
53     </tr>
54     <tr>
55       <td class="titre">
56         Nouveau mot de passe :
57       </td>
58       <td>
59         <input type="password" size="10" maxlength="10" name="nouveau" />
60       </td>
61     </tr>
62     <tr>
63       <td class="titre">
64         Retape-le une fois :
65       </td>
66       <td>
67         <input type="password" size="10" maxlength="10" name="nouveau2" />
68       </td>
69     </tr>
70     <tr>
71       <td colspan="2" class="center">
72         <input type="submit" value="Changer" name="submitn" onclick="EnCryptedResponse(); return false;" />
73       </td>
74     </tr>
75   </table>
76 </form>
77 <form action="{$smarty.server.REQUEST_URI}" method="post" id="changepass2">
78 <p>
79 <input type="hidden" name="response"  value="" />
80 <input type="hidden" name="response2"  value="" />
81 </p>
82 </form>
83
84 {* vim:set et sw=2 sts=2 sws=2: *}