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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php
index 0e00523..b641899 100644
--- a/h-source/Application/Controllers/UsersController.php
+++ b/h-source/Application/Controllers/UsersController.php
@@ -54,7 +54,8 @@ class UsersController extends BaseController
$this->s['registered']->checkStatus();
if ($this->s['registered']->status['status']=='logged') { //check if already logged
- $this->s['registered']->redirect('logged');
+ $this->redirect('home/index/'.Lang::$current,3,'You are already logged...');
+ die();
}
if (isset($_POST['username']) and isset($_POST['password']))
{