airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject airavata-php-gateway git commit: AIRAVATA-1841 Completely log out user when airavata is down
Date Wed, 11 Jan 2017 13:23:17 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 47fef07ee -> fc04148bd


AIRAVATA-1841 Completely log out user when airavata is down


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/fc04148b
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/fc04148b
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/fc04148b

Branch: refs/heads/develop
Commit: fc04148bdbfc4ebb74a3bda3e640a41f27265b5a
Parents: 47fef07
Author: Marcus Christie <machristie@apache.org>
Authored: Wed Jan 11 08:22:17 2017 -0500
Committer: Marcus Christie <machristie@apache.org>
Committed: Wed Jan 11 08:22:17 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/fc04148b/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 13022bf..da3a6e7 100644
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -215,7 +215,7 @@ class AccountController extends BaseController
         // sure we create the default project and setup experiment storage
         // before they do anything else.
         if (!CommonUtilities::isAiravataUp()) {
-            Session::forget('loggedin');
+            Session::flush();
             return Redirect::to("home")->with("airavata-down", true);
         }
 


Mime
View raw message