From: Florent Bruneau Date: Sat, 3 May 2008 21:57:44 +0000 (+0200) Subject: Check password when the user change/set a password. X-Git-Tag: core/1.0.0~216 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=92029dcf80f38b4a4616874d474ddf969062e81f;p=platal.git Check password when the user change/set a password. Signed-off-by: Florent Bruneau --- diff --git a/templates/googleapps/index.tpl b/templates/googleapps/index.tpl index f475428..c2487af 100644 --- a/templates/googleapps/index.tpl +++ b/templates/googleapps/index.tpl @@ -109,6 +109,10 @@ Vérification + + Sécurité + {checkpasswd prompt="nouveau" submit="create_account"} + @@ -170,7 +174,7 @@ {else} - + {/if} diff --git a/templates/platal/acces_smtp.tpl b/templates/platal/acces_smtp.tpl index df4bf67..7002c73 100644 --- a/templates/platal/acces_smtp.tpl +++ b/templates/platal/acces_smtp.tpl @@ -80,9 +80,13 @@ + Sécurité + {checkpasswd prompt="smtppass1" submit="valid"} + + - + {if $actif}    {/if} diff --git a/templates/platal/motdepasse.tpl b/templates/platal/motdepasse.tpl index 91cb319..4c6af4c 100644 --- a/templates/platal/motdepasse.tpl +++ b/templates/platal/motdepasse.tpl @@ -63,13 +63,12 @@ Sécurité - {checkpasswd id="nouveau"} + {checkpasswd prompt="nouveau" submit="submitn"} - + diff --git a/templates/register/success.tpl b/templates/register/success.tpl index 01b75b8..e4aa943 100644 --- a/templates/register/success.tpl +++ b/templates/register/success.tpl @@ -72,6 +72,10 @@ Tu as reçu un mot de passe par défaut, si tu souhaites en changer, tu peux le + Sécurité + {checkpasswd prompt="nouveau" submit="submitn"} + +