aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-03 13:43:43 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-03 13:43:43 +0000
commit67f94bb059506bf617d69a8af67e96a7f62632e8 (patch)
tree23f4c75ddaab7508e82b019915f71916cfe419aa /h-source/Application/Controllers
parent822005d36ad721c2203a5bff990210fa33afee34 (diff)
improved login
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/UsersController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php
index 2bbc5e3..1249647 100644
--- a/h-source/Application/Controllers/UsersController.php
+++ b/h-source/Application/Controllers/UsersController.php
@@ -79,7 +79,7 @@ class UsersController extends BaseController
switch($choice) {
case 'logged':
- $this->redirect('home/index',3,'You are already logged...');
+ $this->redirect('home/index/'.Lang::$current,3,'You are already logged...');
break;
case 'accepted':
if (isset($type))
@@ -90,7 +90,7 @@ class UsersController extends BaseController
}
else
{
- $this->redirect('home/index',0);
+ $this->redirect('home/index/'.Lang::$current,0);
}
break;
case 'login-error':
@@ -117,7 +117,7 @@ class UsersController extends BaseController
}
else if ($res === 'was-logged')
{
- $this->redirect('home',0);
+ $this->redirect('home/index/'.Lang::$current,0);
}
else if ($res === 'error')
{