You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/01/11 13:23:17 UTC

airavata-php-gateway git commit: AIRAVATA-1841 Completely log out user when airavata is down

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 <ma...@apache.org>
Authored: Wed Jan 11 08:22:17 2017 -0500
Committer: Marcus Christie <ma...@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);
         }