BUG 5120 Change text to clarify the purpose of user for the Case Scheduler SOLVED
- Fix some issues in the logic of the validation - Change some validations
This commit is contained in:
@@ -103,6 +103,7 @@ class wsBase
|
||||
$uid = $RBAC->VerifyLogin($userid , $password);
|
||||
|
||||
switch ($uid) {
|
||||
case '':
|
||||
case -1: //The user doesn't exist
|
||||
$wsResponse = new wsResponse(3, G::loadTranslation('ID_USER_NOT_REGISTERED'));
|
||||
break;
|
||||
@@ -116,7 +117,7 @@ class wsBase
|
||||
break;
|
||||
}
|
||||
|
||||
if ($uid < 0 ) {
|
||||
if ($uid < 0 || $uid == '') {
|
||||
throw (new Exception(serialize($wsResponse)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user