Commit e220eb70 by Julien Jorry

Delete Autocomplete on form fields

parent d5bf4583
......@@ -49,10 +49,7 @@ class RegistrationFormType extends AbstractType
'type' => PasswordType::class,
'required' => true,
'options' => array(
'translation_domain' => 'FOSUserBundle',
'attr' => array(
'autocomplete' => 'new-password',
),
'translation_domain' => 'FOSUserBundle'
),
'first_options' => array('label' => 'form.password'),
'second_options' => array('label' => 'form.password_confirmation'),
......
......@@ -12,7 +12,7 @@
<label for="username">{{ 'security.login.courriel'|trans }} :</label>
</div>
<div class='col-6 text-left'>
<input type="text" id="username" name="_username" value="{{ last_username is defined ? last_username : '' }}" required="required" autocomplete="username" />
<input type="text" id="username" name="_username" value="{{ last_username is defined ? last_username : '' }}" required="required" />
</div>
</div>
<div class='row'>
......@@ -20,7 +20,7 @@
<label for="password">{{ 'security.login.password'|trans }} :</label>
</div>
<div class='col-6 text-left'>
<input type="password" id="password" name="_password" required="required" autocomplete="current-password" />
<input type="password" id="password" name="_password" required="required" />
</div>
</div>
<div class='row mt-4'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment