Suppression du jeton pour récupérer son mot de passe lors d'une connexion
This commit is contained in:
parent
82a8246560
commit
61ddc8b17c
|
@ -70,6 +70,7 @@ class LoggingInUser
|
||||||
public function login()
|
public function login()
|
||||||
{
|
{
|
||||||
$_SESSION["user_id"] = $this->user->getId();
|
$_SESSION["user_id"] = $this->user->getId();
|
||||||
|
$this->user->setForgottenPasswordToken(null);
|
||||||
loadUserValues();
|
loadUserValues();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue