airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: WIP
Date Wed, 28 Jun 2017 18:07:23 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 92a26426a -> b51325b45


WIP


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

Branch: refs/heads/develop
Commit: b51325b458b5769b0988c4b94b79aa27424d556b
Parents: 92a2642
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Jun 28 14:07:20 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Jun 28 14:07:20 2017 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b51325b4/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 94347c5..904355f 100644
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -245,9 +245,9 @@ class AccountController extends BaseController
         }
 
         if(Session::has("admin") || Session::has("admin-read-only")){
-            return Redirect::to("admin/dashboard", array('status'=>'ok', 'code'=>$accessToken));
+            return Redirect::to("admin/dashboard" . "?status=ok&code=".$accessToken);
         }else{
-            return Redirect::to("account/dashboard", array('status'=>'ok', 'code'=>$accessToken));
+            return Redirect::to("account/dashboard" . "?status=ok&code=".$accessToken);
         }
     }
 
@@ -291,9 +291,9 @@ class AccountController extends BaseController
         Session::put('user-profile', $userProfile);
 
         if(Session::has("admin") || Session::has("admin-read-only")){
-            return Redirect::to("admin/dashboard", array('status'=>'ok', 'code'=>$accessToken));
+            return Redirect::to("admin/dashboard". "?status=ok&code=".$accessToken);
         }else{
-            return Redirect::to("account/dashboard", array('status'=>'ok', 'code'=>$accessToken));
+            return Redirect::to("account/dashboard". "?status=ok&code=".$accessToken);
         }
     }
 


Mime
View raw message