Project

General

Profile

Development #26385

ajout d'attributs autocomplete aux champs mot de passe

Added by Frédéric Péters 9 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
13 Sep 2018
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

L'attribut autocomplete accepte des valeurs particulières : (dans chrom*, pas encore firefox, mais il n'y pas de mal)

"new-password"
. A new password. When creating a new account or changing passwords, this is the "Enter your new password" field, as opposed to any "Enter your current password" field that might be present. This may be used by the browser both to avoid accidentally filling in an existing password and to offer assistance in creating a secure password.

"current-password"
. The user's current password.

cf https://www.chromium.org/developers/design-documents/form-styles-that-chromium-understands et https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields

Also available in: Atom PDF