Browse Source

Erreur édtion user

pull/5/head
fredtempez 3 years ago
parent
commit
f6126b5b6c
  1. 4
      core/module/user/user.php

4
core/module/user/user.php

@ -152,14 +152,12 @@ class user extends common {
'access' => false
]);
}
if ($this->getUrl(3) !== $_SESSION['csrf']) {
if ( $this->getUrl(4) !== $_SESSION['csrf']) {
if ($this->getUrl(4) !== $_SESSION['csrf']) {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . 'user',
'notification' => 'Action non autorisée'
]);
}
}
// Accès autorisé
else {

Loading…
Cancel
Save