diff --git a/app/forms/UserSettings.php b/app/forms/UserSettings.php index 52dd6bc..3e6387e 100644 --- a/app/forms/UserSettings.php +++ b/app/forms/UserSettings.php @@ -47,6 +47,7 @@ class UserSettings extends FormBase )); $id->addValidator(new IdenticalValidator([ 'accepted' => $this->getEntity()->getId(), + 'allowEmpty' => true ])); $id->setLabel('ID'); @@ -97,6 +98,7 @@ class UserSettings extends FormBase $email->addValidator(new IdenticalValidator([ 'accepted' => $this->getEntity()->getEmail(), + 'allowEmpty' => true ])); $email->setLabel('Email');