BUG 5809 Case tracker PIN should not be case sensitive.
When logging into the Case Tracker, the case tracker PIN was case sensitive,so I added a line of code in 'workflow/engine/classes/class.case.php' which capitalized the PIN entered by the user and compares with the PIN extracted from the BD.
This commit is contained in:
@@ -5021,6 +5021,8 @@ class Cases
|
|||||||
*/
|
*/
|
||||||
public function verifyCaseTracker($case, $pin)
|
public function verifyCaseTracker($case, $pin)
|
||||||
{
|
{
|
||||||
|
//CASE INSENSITIVE pin
|
||||||
|
$pin = G::toUpper($pin);
|
||||||
$pin = md5($pin);
|
$pin = md5($pin);
|
||||||
|
|
||||||
$oCriteria = new Criteria('workflow');
|
$oCriteria = new Criteria('workflow');
|
||||||
@@ -6109,4 +6111,3 @@ class Cases
|
|||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user