aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r--h-source/Application/Controllers/UsersController.php10
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')
{