summaryrefslogtreecommitdiff
path: root/src/controller/UserController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/UserController.php')
-rw-r--r--src/controller/UserController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/UserController.php b/src/controller/UserController.php
index f0880bb..1acb4d5 100644
--- a/src/controller/UserController.php
+++ b/src/controller/UserController.php
@@ -107,7 +107,7 @@ class UserController
107 107
108 if(!empty($error)){ 108 if(!empty($error)){
109 sleep(1); // défense basique à la force brute 109 sleep(1); // défense basique à la force brute
110 $url = new URL(['page' => 'connexion']); 110 $url = new URL(['page' => 'connection']);
111 isset($_GET['from']) ? $url->addParams(['from' => $_GET['from']]) : null; 111 isset($_GET['from']) ? $url->addParams(['from' => $_GET['from']]) : null;
112 isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : null; 112 isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : null;
113 $url->addParams(['error' => $error]); 113 $url->addParams(['error' => $error]);