Skip to content
Permalink
Browse files
WIP
  • Loading branch information
scnakandala committed Jun 28, 2017
1 parent b51325b commit 0c31410c0040b878c5bdd0c7a221b32b851bfe0a
Showing 1 changed file with 2 additions and 2 deletions.
@@ -120,9 +120,9 @@ public function loginSubmit()
$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);
}
}

0 comments on commit 0c31410

Please sign in to comment.