From 61ddc8b17cdf8dad030a7b1d5d4613b509fc7c73 Mon Sep 17 00:00:00 2001 From: Yohann Date: Mon, 30 Sep 2019 14:25:03 +0200 Subject: [PATCH] =?UTF-8?q?Suppression=20du=20jeton=20pour=20r=C3=A9cup?= =?UTF-8?q?=C3=A9rer=20son=20mot=20de=20passe=20lors=20d'une=20connexion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server_files/controllers/connexion.php | 1 + 1 file changed, 1 insertion(+) diff --git a/server_files/controllers/connexion.php b/server_files/controllers/connexion.php index 811abf1..9a441c8 100644 --- a/server_files/controllers/connexion.php +++ b/server_files/controllers/connexion.php @@ -70,6 +70,7 @@ class LoggingInUser public function login() { $_SESSION["user_id"] = $this->user->getId(); + $this->user->setForgottenPasswordToken(null); loadUserValues(); } }