forked from ZwiiCMS-Team/ZwiiCMS
Correction erreur d'édition d'un user
This commit is contained in:
parent
ef0e40af72
commit
b08238a664
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user