Contremesure faille CRSF

This commit is contained in:
fredtempez 2019-01-16 19:54:44 +01:00
parent f620319c83
commit 3824c1c6f2
1 changed files with 0 additions and 8 deletions

View File

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