浏览代码

Update user_edit.php

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;
 		}
 
-		if (!check_password_strength($password, $text)) {
+		if (!check_password_strength($password, $text, 'user')) {
 			if ($action == 'edit') {
 				header("Location: user_edit.php?id=".$user_uuid);
 			}