BUG 5735 This issue has been fixed
I've tried to reproduced this issue but I couldn't. However I could see that was not doing the validation for the users and this had a notice, these were in the case scheduler option. These were fixed.
This commit is contained in:
@@ -529,7 +529,7 @@ class CaseScheduler extends BaseCaseScheduler {
|
||||
}
|
||||
} else if ($sActualDataHour == $dActualSysHour && $sActualDataMinutes <= $dActualSysMinutes) {
|
||||
|
||||
$_PORT = ($_SERVER ['SERVER_PORT'] != '80') ? ':' . $_SERVER ['SERVER_PORT'] : '';
|
||||
$_PORT = (isset($_SERVER ['SERVER_PORT']) && $_SERVER ['SERVER_PORT'] != '80') ? ':' . $_SERVER ['SERVER_PORT'] : '';
|
||||
|
||||
//$defaultEndpoint = 'http://' . $_SERVER ['SERVER_NAME'] . ':' . $_PORT . '/sys' . SYS_SYS . '/en/green/services/wsdl2';
|
||||
$defaultEndpoint = 'http://' . SERVER_NAME . $_PORT . '/sys' . SYS_SYS . '/en/green/services/wsdl2';
|
||||
|
||||
@@ -509,10 +509,17 @@ function case_userSchedulerValidate(username, password) {
|
||||
oRPC.callback = function(rpc){
|
||||
//msgBox(rpc.xmlhttp.responseText,"alert");
|
||||
sresponse = rpc.xmlhttp.responseText;
|
||||
if(sresponse == "User does not have access to the system"){
|
||||
|
||||
switch(sresponse){
|
||||
case "User does not have access to the system":
|
||||
case "Wrong password":
|
||||
case "User inactive!":
|
||||
msgBox(rpc.xmlhttp.responseText,"alert");
|
||||
getField('BTNCANCEL').focus();
|
||||
return false;
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
getField('SCH_USER_UID').value = rpc.xmlhttp.responseText;
|
||||
user_uid = rpc.xmlhttp.responseText;
|
||||
//alert(user_uid);
|
||||
|
||||
Reference in New Issue
Block a user