From e2465bd7a2d324259c3c1dae00dfca8c2535edcc Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Mon, 17 Sep 2018 11:13:31 +0200
Subject: [PATCH] Fixed #5128 Bug in password strength meter

---
 interface/lib/classes/validate_password.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/lib/classes/validate_password.inc.php b/interface/lib/classes/validate_password.inc.php
index f36f16220c..a0f6de2e96 100644
--- a/interface/lib/classes/validate_password.inc.php
+++ b/interface/lib/classes/validate_password.inc.php
@@ -71,7 +71,7 @@ class validate_password {
 		} else if ($points == 1) {
 			if ($length >= 5 && $length <= 6) {
 				return 2;
-			} else if (length >= 7 && length <=10) {
+			} else if ($length >= 7 && $length <=10) {
 				return 3;
 			} else {
 				return 4;
-- 
GitLab