From 92029dcf80f38b4a4616874d474ddf969062e81f Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 3 May 2008 23:57:44 +0200 Subject: [PATCH] Check password when the user change/set a password. Signed-off-by: Florent Bruneau --- templates/googleapps/index.tpl | 6 +++++- templates/platal/acces_smtp.tpl | 6 +++++- templates/platal/motdepasse.tpl | 5 ++--- templates/register/success.tpl | 4 ++++ 4 files changed, 16 insertions(+), 5 deletions(-) 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"} + + -- 2.1.4