From 67f94bb059506bf617d69a8af67e96a7f62632e8 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 3 Feb 2011 13:43:43 +0000 Subject: improved login --- h-source/Application/Controllers/UsersController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'h-source/Application/Controllers/UsersController.php') 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') { -- cgit v1.2.3