Pārlūkot izejas kodu

Update user_edit.php

FusionPBX 7 gadi atpakaļ
vecāks
revīzija
08850eb051
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
 			}
 			}