airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [3/4] airavata-php-gateway git commit: Fixing incorrect warning when loging in
Date Tue, 08 Sep 2015 04:51:43 GMT
Fixing incorrect warning when loging in


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/44fcae43
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/44fcae43
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/44fcae43

Branch: refs/heads/master
Commit: 44fcae43ec5671c1f655449cb82fd13a4cc83307
Parents: bef55ec
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Sat Sep 5 23:16:15 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Sat Sep 5 23:16:15 2015 +0530

----------------------------------------------------------------------
 app/controllers/AccountController.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/44fcae43/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 7185af9..cc17bcb 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -174,9 +174,10 @@ class AccountController extends BaseController
             }
         }catch (Exception $ex){
             CommonUtilities::print_error_message("Unable to Connect to the Airavata Server
Instance!");
+            return View::make('home');
         }
 
-        return View::make("home");
+        return Redirect::to("home");
     }
 
     public function forgotPassword()


Mime
View raw message