Skip to content

Commit

Permalink
[CVE-2023-32302] Require password field to be non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jul 30, 2023
1 parent cb7be27 commit 7b21b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ public function getMemberPasswordField()
$password->setRequireExistingPassword(true);
}

$password->setCanBeEmpty(true);
$password->setCanBeEmpty(false);
$this->extend('updateMemberPasswordField', $password);

return $password;
Expand Down

0 comments on commit 7b21b38

Please sign in to comment.