airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [08/50] [abbrv] airavata-php-gateway git commit: adding gateway-id back to session
Date Wed, 29 Jul 2015 17:48:40 GMT
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/master
Commit: c4550910f5437243ec9093e001f68e07685c90a7
Parents: 03cb527
Author: Suresh Marru <smarru@apache.org>
Authored: Fri Jul 17 08:38:15 2015 -0400
Committer: Suresh Marru <smarru@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");


Mime
View raw message