forked from ZwiiCMS-Team/ZwiiCMS
warning user forgot
This commit is contained in:
parent
1a61f34c19
commit
3539c3b04e
@ -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()]);
|
||||
|
Loading…
Reference in New Issue
Block a user