From b0bddcb5ae1980400d2c96d83d619c04490e5103 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 21 Jan 2019 10:32:56 +0100 Subject: [PATCH] =?UTF-8?q?message=20erreur=20=C3=A9dition=20du=20compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/user/user.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/core/core.php b/core/core.php index 54ea1a77..e957c1c0 100644 --- a/core/core.php +++ b/core/core.php @@ -2224,7 +2224,7 @@ class layout extends common { // } // Mise à jour bloquée } - $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; + $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; $rightItems .= '
  • ' . template::ico('logout') . '
  • '; // Barre de membre echo '
      ' . $leftItems . '
      ' . $rightItems . '
    '; diff --git a/core/module/user/user.php b/core/module/user/user.php index 9c4ac943..4707bf40 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -152,14 +152,6 @@ class user extends common { 'access' => false ]); } - // Jeton incorrect - if(!$this->getUrl(4)) { - // Valeurs en sortie - $this->addOutput([ - 'redirect' => helper::baseUrl() . 'user', - 'notification' => 'Jeton invalide' - ]); - } if ($this->getUrl(4) !== $_SESSION['csrf']) { // Valeurs en sortie $this->addOutput([