From 488a0b78ca80328ae48829e82c71458da5ff1f03 Mon Sep 17 00:00:00 2001 From: Roly Gutierrez Date: Mon, 16 Jan 2023 11:37:38 -0400 Subject: [PATCH] PMCORE-4059 Password Policy is not working --- workflow/engine/methods/login/authentication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/methods/login/authentication.php b/workflow/engine/methods/login/authentication.php index 2f7c512a6..cb408455c 100644 --- a/workflow/engine/methods/login/authentication.php +++ b/workflow/engine/methods/login/authentication.php @@ -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',