From d0f14f0e6025c05b3df02a9169aee5666096e190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Fri, 31 Jan 2025 09:52:52 +0100 Subject: [PATCH] =?UTF-8?q?1.20.03=20D=C3=A9pr=C3=A9ciation=20=20concat?= =?UTF-8?q?=C3=A9nation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/user/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 73bcafa..027e172 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -1564,8 +1564,8 @@ class user extends common $this->saveLog( ' Erreur de réinitialisation de mot de passe ' . $this->getUrl(2) . ' Compte : ' . $this->getData(['user', $this->getUrl(2)]) . - ' Temps : ' . $this->getData(['user', $this->getUrl(2), 'forgot']) + 86400 < time() . - ' Clé : ' . $this->getUrl(3) !== md5(json_encode($this->getData(['user', $this->getUrl(2), 'forgot']))) + ' Temps : ' . ($this->getData(['user', $this->getUrl(2), 'forgot']) + 86400 < time()) . + ' Clé : ' . ($this->getUrl(3) !== md5(json_encode($this->getData(['user', $this->getUrl(2), 'forgot'])))) ); // Message d'erreur en cas de problème de réinitialisation de mot de passe $message = $this->getData(['user', $this->getUrl(2)]) === null