diff options
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r-- | h-source/Application/Controllers/UsersController.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index 7f42a2a..4fa078b 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -107,15 +107,7 @@ class UsersController extends BaseController } else if ($res === 'was-logged') { - $redirect = $this->request->get('redirect','','sanitizeAll'); - if (strcmp($redirect,'') !== 0) - { - $this->redirect($redirect,0); - } - else - { - $this->redirect('home/index/'.Lang::$current,0); - } + $this->redirect('home/index/'.Lang::$current,0); } else if ($res === 'error') { |