warning user forgot

This commit is contained in:
Fred Tempez 2024-01-18 18:33:12 +01:00
parent 1a61f34c19
commit 3539c3b04e
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()]);