Skip to content

Commit bfb6349

Browse files
Fix problem with user authentication and only report blank errors for form fields.
1 parent 35b4c58 commit bfb6349

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Form/DeleteProfileFormType.php

-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,12 @@ public function buildForm(FormBuilderInterface $builder, array $options)
3030
->add('username', TextType::class, [
3131
'required' => false,
3232
'constraints' => [
33-
new NotNull(),
3433
new NotBlank(),
3534
],
3635
])
3736
->add('password', PasswordType::class, [
3837
'required' => false,
3938
'constraints' => [
40-
new NotNull(),
4139
new NotBlank(),
4240
],
4341
])

0 commit comments

Comments
 (0)