Start your All-Access Pass to unlock this challenge
Challenge 2 / 2
Before the refactor, RegistrationFormType had just two constraints on
plainPassword:
'constraints' => [
new NotBlank(message: 'Please enter a password'),
new Length(min: 6, max: 4096),
],
Then we replaced that whole array with new Password(). What did that do to
the registration form?
Skip challenges and go to theNext Chapter