Suppression non autorisée d'une galerie

This commit is contained in:
fredtempez 2019-02-02 12:19:41 +01:00
parent 83ef586a09
commit 5de140b0e4
1 changed files with 3 additions and 3 deletions

View File

@ -102,11 +102,11 @@ class gallery extends common {
]); ]);
} }
// Jeton incorrect // Jeton incorrect
elseif ($_GET['csrf'] !== $_SESSION['csrf']) { if ($this->getUrl(3) !== $_SESSION['csrf']) {
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config', 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',
'notification' => 'Suppression non autorisée' 'notification' => 'Suppression non autorisée'
]); ]);
} }
// Suppression // Suppression