FusionPBX преди 7 години
родител
ревизия
1ee8a738d1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/users/user_edit.php

+ 1 - 1
core/users/user_edit.php

@@ -159,7 +159,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
 			exit;
 			exit;
 		}
 		}
 
 
-		if (!check_password_strength($password, $text)) {
+		if (!check_password_strength($password, $text, 'user')) {
 			if ($action == 'edit') {
 			if ($action == 'edit') {
 				header("Location: user_edit.php?id=".$user_uuid);
 				header("Location: user_edit.php?id=".$user_uuid);
 			}
 			}