Correction erreur d'édition d'un user

This commit is contained in:
fredtempez 2019-02-12 14:38:56 +01:00
parent ef0e40af72
commit b08238a664

View File

@ -132,7 +132,8 @@ class user extends common {
* Édition
*/
public function edit() {
if ($this->getUrl(3) !== $_SESSION['csrf']) {
if ($this->getUrl(3) !== $_SESSION['csrf'] &&
$this->getUrl(4) !== $_SESSION['csrf']) {
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . 'user',