We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 264cff3 commit 092a893Copy full SHA for 092a893
Extension/Csrf/Type/FormTypeCsrfExtension.php
@@ -76,7 +76,7 @@ public function finishView(FormView $view, FormInterface $form, array $options):
76
$csrfForm = $factory->createNamed($options['csrf_field_name'], HiddenType::class, $data, [
77
'block_prefix' => 'csrf_token',
78
'mapped' => false,
79
- 'attr' => $this->fieldAttr + ['autocomplete' => 'off'],
+ 'attr' => $this->fieldAttr,
80
]);
81
82
$view->children[$options['csrf_field_name']] = $csrfForm->createView($view);
0 commit comments