mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-07 13:02:21 +00:00
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
Block a user