PM-2795: I validated when is < 0

This commit is contained in:
Paula V. Quispe
2015-05-21 14:01:28 -04:00
parent de8ccb885f
commit b55eb92644

View File

@@ -193,6 +193,9 @@ class PmPdo implements \OAuth2\Storage\AuthorizationCodeInterface,
$RBAC = \RBAC::getSingleton();
$RBAC->initRBAC();
$uid = $RBAC->VerifyLogin($username , $password);
if($uid < 0){
return false;
}
if($uid != ''){
return true;
}