Repository: airavata-php-gateway Updated Branches: refs/heads/develop b51325b45 -> 0c31410c0
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/0c31410c Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0c31410c Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0c31410c Branch: refs/heads/develop Commit: 0c31410c0040b878c5bdd0c7a221b32b851bfe0a Parents: b51325b Author: scnakandala <[email protected]> Authored: Wed Jun 28 14:09:32 2017 -0400 Committer: scnakandala <[email protected]> Committed: Wed Jun 28 14:09:32 2017 -0400 ---------------------------------------------------------------------- app/controllers/AccountController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0c31410c/app/controllers/AccountController.php ---------------------------------------------------------------------- diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php index 904355f..1709b9b 100644 --- a/app/controllers/AccountController.php +++ b/app/controllers/AccountController.php @@ -120,9 +120,9 @@ class AccountController extends BaseController $response = Keycloak::authenticate($username, $password); if(!isset($response->access_token)){ if (Keycloak::isUpdatePasswordRequired($username)) { - return Redirect::to("login", array('status'=>'failed'))->with("update-password-required", true); + return Redirect::to("login" . '&status=failed')->with("update-password-required", true); } else { - return Redirect::to("login", array('status'=>'failed'))->with("invalid-credentials", true); + return Redirect::to("login". '&status=failed')->with("invalid-credentials", true); } }
