From 2cd9ddf8b7227207b7be3c46a2edb4cc7182cae3 Mon Sep 17 00:00:00 2001 From: Damien GUILLEM Date: Mon, 20 Apr 2015 13:07:21 +0200 Subject: [PATCH] Merge fix for CSRF errors in user profile management --- model/DataBase.php | 3 --- templates/profile.php | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/model/DataBase.php b/model/DataBase.php index fca8a76..1b4a676 100755 --- a/model/DataBase.php +++ b/model/DataBase.php @@ -1084,9 +1084,6 @@ 'admin' => $admin, ); - $req = $this->bdd->prepare($query); - $req->execute($params); - return $this->runQuery($query, $params, self::ROWCOUNT); } diff --git a/templates/profile.php b/templates/profile.php index 03b3231..de527ea 100755 --- a/templates/profile.php +++ b/templates/profile.php @@ -49,7 +49,7 @@

Modifier mot de passe

-
+
@@ -71,7 +71,7 @@

Modifier e-mail

- +
@@ -91,7 +91,7 @@

Supprimer ce compte

- +