Suppression du jeton pour récupérer son mot de passe lors d'une connexion

This commit is contained in:
Yohann 2019-09-30 14:25:03 +02:00
parent 82a8246560
commit 61ddc8b17c
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class LoggingInUser
public function login()
{
$_SESSION["user_id"] = $this->user->getId();
$this->user->setForgottenPasswordToken(null);
loadUserValues();
}
}