You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I'm trying to make a custom validation group. I've decided to test it with simple alteration to the registration validation rule, by increasing the min length to 6 characters. Right now my configuration is following:
# config/packages/fos_user.yamlfos_user:
db_driver: orm # other valid values are 'mongodb' and 'couchdb'firewall_name: mainuser_class: App\Entity\Userfrom_email:
address: "%mailer_user%"sender_name: "%mailer_user%"registration:
form:
type: FOS\UserBundle\Form\Type\RegistrationFormTypevalidation_groups: [CustomValidation]
I've checked that the FOSUser config has updated with dump:config. I've run cache:clear. Yet the FOSUser ignores my config and continue to use the standard validation rules for registration (i.e. 2 chars min).
What am I missing here?
The text was updated successfully, but these errors were encountered:
So, I'm trying to make a custom validation group. I've decided to test it with simple alteration to the registration validation rule, by increasing the min length to 6 characters. Right now my configuration is following:
I've checked that the FOSUser config has updated with
dump:config
. I've runcache:clear
. Yet the FOSUser ignores my config and continue to use the standard validation rules for registration (i.e. 2 chars min).What am I missing here?
The text was updated successfully, but these errors were encountered: