Start your All-Access Pass to unlock this challenge
Buy Access Login

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?

Select your answer
Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.