Erreur édtion user
This commit is contained in:
parent
9316d9bca0
commit
f6126b5b6c
@ -152,7 +152,6 @@ class user extends common {
|
||||
'access' => false
|
||||
]);
|
||||
}
|
||||
if ($this->getUrl(3) !== $_SESSION['csrf']) {
|
||||
if ($this->getUrl(4) !== $_SESSION['csrf']) {
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
@ -160,7 +159,6 @@ class user extends common {
|
||||
'notification' => 'Action non autorisée'
|
||||
]);
|
||||
}
|
||||
}
|
||||
// Accès autorisé
|
||||
else {
|
||||
// Soumission du formulaire
|
||||
|
Loading…
Reference in New Issue
Block a user