Version 1.7i

This commit is contained in:
nemunaire 2008-11-16 12:00:00 +01:00
commit ba5e741c99
136 changed files with 2561 additions and 2105 deletions

View file

@ -5,7 +5,7 @@ $titre = 'Changement des options';
if (isset($_GET['auth'])) {
if (!empty($queryUser['mdpNOUV']) && !empty($queryUser['mdpNOUV']) && sha1($queryUser['mdpNOUV']) == $_GET['auth']) {
$bdd->connexion();
$bdd->query("UPDATE user SET mdp = mdpNOUV, mdpNOUV = '', mailNOUV = '' WHERE id = '$id_user';");
$bdd->query("UPDATE user SET mdp = mdpNOUV, mdpNOUV = '', mdp_var = 0, mailNOUV = '' WHERE id = '$id_user';");
$bdd->deconnexion();
$template->assign('message','Votre nouveau mot de passe est en place.');
$template->assign('couleur','green');