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:
jennylee
2012-10-03 14:28:40 -04:00
parent 660e9a91f5
commit b34595f732

View File

@@ -5021,6 +5021,8 @@ class Cases
*/
public function verifyCaseTracker($case, $pin)
{
//CASE INSENSITIVE pin
$pin = G::toUpper($pin);
$pin = md5($pin);
$oCriteria = new Criteria('workflow');
@@ -6109,4 +6111,3 @@ class Cases
return $response;
}
}