From fd1b7f27540f844885438239ddbdeb32b6259a7d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 15 Aug 2024 17:06:34 +1200 Subject: [PATCH] API Standardise extension hooks --- src/Extensions/LDAPMemberExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/LDAPMemberExtension.php b/src/Extensions/LDAPMemberExtension.php index 679bebe..b5fe7a7 100644 --- a/src/Extensions/LDAPMemberExtension.php +++ b/src/Extensions/LDAPMemberExtension.php @@ -185,7 +185,7 @@ protected function updateCMSFields(FieldList $fields) * @param ValidationResult * @throws ValidationException */ - public function validate(ValidationResult $validationResult) + protected function updateValidate(ValidationResult $validationResult) { // We allow empty Username for registration purposes, as we need to // create Member records with empty Username temporarily. Forms should explicitly