From 88e7cb87618953cd9b4183dbb246a061de2aae34 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 18 Jan 2024 18:33:12 +0100 Subject: [PATCH] warning user forgot --- core/module/user/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/module/user/user.php b/core/module/user/user.php index d8ec291c..223f5647 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -410,6 +410,7 @@ class user extends common $this->isPost() ) { $userId = $this->getInput('userForgotId', helper::FILTER_ID, true); + $sent = false; if ($this->getData(['user', $userId])) { // Enregistre la date de la demande dans le compte utilisateur $this->setData(['user', $userId, 'forgot', time()]);