diff options
| author | polo <ordipolo@gmx.fr> | 2026-06-11 01:35:57 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-06-11 01:35:57 +0200 |
| commit | b76547767ae897b6de752c56e2cef6079ca4abcb (patch) | |
| tree | d76006e86198189c949b36b2c284067b9603e3fc /src/controller/UserController.php | |
| parent | ae217a6e4b0c29346381e2a410fd7810cb33ce3f (diff) | |
| download | cms-b76547767ae897b6de752c56e2cef6079ca4abcb.tar.gz cms-b76547767ae897b6de752c56e2cef6079ca4abcb.tar.bz2 cms-b76547767ae897b6de752c56e2cef6079ca4abcb.zip | |
classe EmailForm à Email et détachable de Node
Diffstat (limited to 'src/controller/UserController.php')
| -rw-r--r-- | src/controller/UserController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controller/UserController.php b/src/controller/UserController.php index ddba33a..03686ee 100644 --- a/src/controller/UserController.php +++ b/src/controller/UserController.php | |||
| @@ -122,7 +122,7 @@ class UserController | |||
| 122 | $url = new URL; | 122 | $url = new URL; |
| 123 | isset($_GET['from']) ? $url->addParams(['page' => $_GET['from']]) : ''; | 123 | isset($_GET['from']) ? $url->addParams(['page' => $_GET['from']]) : ''; |
| 124 | isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : ''; | 124 | isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : ''; |
| 125 | return new RedirectResponse('Location: ' . $url); | 125 | return new RedirectResponse((string)$url); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | // user | 128 | // user |
| @@ -161,7 +161,7 @@ class UserController | |||
| 161 | sleep(1); | 161 | sleep(1); |
| 162 | $url->addParams(['error_username' => $error]); | 162 | $url->addParams(['error_username' => $error]); |
| 163 | } | 163 | } |
| 164 | return new RedirectResponse('Location: ' . $url); | 164 | return new RedirectResponse((string)$url); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | // user | 167 | // user |
| @@ -200,7 +200,7 @@ class UserController | |||
| 200 | sleep(1); | 200 | sleep(1); |
| 201 | $url->addParams(['error_password' => $error]); | 201 | $url->addParams(['error_password' => $error]); |
| 202 | } | 202 | } |
| 203 | return new RedirectResponse('Location: ' . $url); | 203 | return new RedirectResponse((string)$url); |
| 204 | } | 204 | } |
| 205 | 205 | ||
| 206 | // dans une classe mère ou un trait après découpage de UserController? | 206 | // dans une classe mère ou un trait après découpage de UserController? |
