Merge pull request #10895 from creative-commoners/pulls/4.13/cve-2023-32302

[CVE-2023-32302] Require password field to be non-empty
This commit is contained in:
Guy Sartorelli 2023-07-31 11:24:46 +12:00 committed by GitHub
commit 0a1c46e69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ class Member extends DataObject
$password->setRequireExistingPassword(true);
}
$password->setCanBeEmpty(true);
$password->setCanBeEmpty(false);
$this->extend('updateMemberPasswordField', $password);
return $password;