warning user forgot

This commit is contained in:
Fred Tempez 2024-01-18 18:33:12 +01:00 committed by Fred Tempez
parent 857a6ff808
commit 88e7cb8761
1 changed files with 1 additions and 0 deletions

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