suppresion autocomplete sur zone login / password du user (ref #169)
This commit is contained in:
parent
0c0ee8eb2e
commit
4759940401
|
@ -52,7 +52,7 @@ class RegistrationType extends AbstractType
|
|||
TextType::class, array(
|
||||
"label" =>"Login",
|
||||
"disabled" => ($options["mode"]=="submit"?false:true),
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -97,7 +97,7 @@ class RegistrationType extends AbstractType
|
|||
RepeatedType::class, array(
|
||||
"type" => PasswordType::class,
|
||||
"required" => ($options["mode"]=="submit"?true:false),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")),
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px"))
|
||||
)
|
||||
);
|
||||
|
|
|
@ -44,7 +44,7 @@ class UserType extends AbstractType
|
|||
TextType::class, array(
|
||||
"label" =>"Login",
|
||||
"disabled" => ($options["mode"]=="submit"?false:true),
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")
|
||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -120,7 +120,7 @@ class UserType extends AbstractType
|
|||
"type" => PasswordType::class,
|
||||
"required" => ($options["mode"]=="submit"?true:false),
|
||||
"options" => array("always_empty" => true),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")),
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px"))
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue