forked from halo-battle/game
Version 1.7i
This commit is contained in:
parent
8a8280758b
commit
ba5e741c99
136 changed files with 2561 additions and 2105 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue