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()]);