From b08238a6648db220fbbd4b633cbe2c4c243e1505 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 12 Feb 2019 14:38:56 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20erreur=20d'=C3=A9dition=20d'un=20u?= =?UTF-8?q?ser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/user/user.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index bea30ea6..85619033 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -132,7 +132,8 @@ class user extends common { * Édition */ public function edit() { - if ($this->getUrl(3) !== $_SESSION['csrf']) { + if ($this->getUrl(3) !== $_SESSION['csrf'] && + $this->getUrl(4) !== $_SESSION['csrf']) { // Valeurs en sortie $this->addOutput([ 'redirect' => helper::baseUrl() . 'user',