warning user forgot

This commit is contained in:
Fred Tempez 2024-01-18 18:33:07 +01:00
parent a67d426a13
commit 540070af8b

View File

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