PMCORE-4059 Password Policy is not working

This commit is contained in:
Roly Gutierrez
2023-01-16 11:37:38 -04:00
parent f1f632d3ef
commit 488a0b78ca

View File

@@ -364,7 +364,7 @@ try {
//The other authentication methods should not be validated by password security policies.
if (!empty($aUser['USR_AUTH_TYPE'])) {
$authType = $aUser['USR_AUTH_TYPE'];
if ($authType != "mysql" && $authType != "") {
if (strtolower($authType) != "mysql" && $authType != "") {
$policiesToExclude = [
'ID_PPP_MINIMUM_LENGTH',
'ID_PPP_MAXIMUM_LENGTH',