Erreur édtion user

This commit is contained in:
fredtempez 2019-01-27 19:35:15 +01:00
parent 9316d9bca0
commit f6126b5b6c
1 changed files with 1 additions and 3 deletions

View File

@ -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 {