handle request denied response in ssoConsumer

This commit is contained in:
<bdauvergne@entrouvert.com> 1207755096 +0200 0001-01-01 00:00:00 +00:00
parent d26e5eabeb
commit ccdc33da16
1 changed files with 4 additions and 0 deletions

View File

@ -201,6 +201,10 @@ class LassoSPKitSAMLCommon {
|| $retPRM == LASSO_LOGIN_ERROR_FEDERATION_NOT_FOUND) {
$this->setMessage("Federation not found");
}
if ($retAR == LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS ||
$retPRM == LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS) {
$this->setMessage("Request denied");
}
if ($retAR || $retPRM) {
lassospkit_errlog("ssoConsumer, retAR: $retAR retPRM: $retPRM");
} else {