Contremesure faille CRSF

pull/5/head
fredtempez 4 years ago
parent f620319c83
commit 3824c1c6f2

@ -160,19 +160,11 @@ class user extends common {
'notification' => 'Jeton invalide'
]);
}
<<<<<<< HEAD
elseif ($this->getUrl(4) !== $_SESSION['csrf']) {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . 'user',
'notification' => 'Suppression non autorisée'
=======
if ($this->getUrl(4) !== $_SESSION['csrf']) {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . 'user',
'notification' => 'Action non autorisée'
>>>>>>> master_v8
]);
}
// Accès autorisé

Loading…
Cancel
Save