From b3471a835b3b857f63b084d8359a9672140ce4c1 Mon Sep 17 00:00:00 2001 From: Prasad <prasad@vtiger.com> Date: Tue, 24 Aug 2021 11:57:38 +0530 Subject: [PATCH] Fixes #1643: password strong check fixed when not configured --- layouts/v7/modules/Vtiger/resources/Utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/v7/modules/Vtiger/resources/Utils.js b/layouts/v7/modules/Vtiger/resources/Utils.js index 26cae5e2d..799fd045d 100644 --- a/layouts/v7/modules/Vtiger/resources/Utils.js +++ b/layouts/v7/modules/Vtiger/resources/Utils.js @@ -407,6 +407,7 @@ var vtUtils = { var isStrong = strongPasswordRegex.test(password)? true : false; return isStrong; } - return false; + // If password regex is not set - consider it as strong. + return true; }, } -- GitLab