Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1DC77200BFB for ; Wed, 11 Jan 2017 14:23:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1C5E8160B4E; Wed, 11 Jan 2017 13:23:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 656FD160B2E for ; Wed, 11 Jan 2017 14:23:23 +0100 (CET) Received: (qmail 29162 invoked by uid 500); 11 Jan 2017 13:23:22 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 29115 invoked by uid 99); 11 Jan 2017 13:23:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2017 13:23:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 77D40DFAF2; Wed, 11 Jan 2017 13:23:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: machristie@apache.org To: commits@airavata.apache.org Message-Id: <004e9860134c4147bcf845b07801597c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: airavata-php-gateway git commit: AIRAVATA-1841 Completely log out user when airavata is down Date: Wed, 11 Jan 2017 13:23:17 +0000 (UTC) archived-at: Wed, 11 Jan 2017 13:23:24 -0000 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 Authored: Wed Jan 11 08:22:17 2017 -0500 Committer: Marcus Christie 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); }