You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/07/17 14:38:22 UTC

airavata-php-gateway git commit: adding gateway-id back to session

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/0.15-release-branch 03cb52762 -> c4550910f


adding gateway-id back to session


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

Branch: refs/heads/0.15-release-branch
Commit: c4550910f5437243ec9093e001f68e07685c90a7
Parents: 03cb527
Author: Suresh Marru <sm...@apache.org>
Authored: Fri Jul 17 08:38:15 2015 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Fri Jul 17 08:38:15 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/c4550910/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 586d11e..132a492 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -75,6 +75,7 @@ class AccountController extends BaseController
                     CommonUtilities::store_id_in_session($username);
                     CommonUtilities::print_success_message('Login successful! You will be redirected to your home page shortly.');
                     //TODO::If this option is not safe, have to find a better method to send credentials to identity server on every connection.
+                    Session::put("gateway_id", Config::get('pga_config.airavata')['gateway-id']);
                     Session::put("password", $_POST["password"]);
 
                     return Redirect::to("home");