Start your All-Access Pass to unlock this challenge
Challenge 2 / 2
We tucked the currentPassword field behind an option that defaults to off:
if ($options['require_current']) {
$builder->add('currentPassword', PasswordType::class, [
// ...
]);
}
Why not simply always add the field?
Skip challenges and go to theNext Chapter