#29379: Add autocomplete attribute to contrib.auth fields
----------------------------------------+------------------------
               Reporter:  CHI Cheng     |          Owner:  nobody
                   Type:  New feature   |         Status:  new
              Component:  contrib.auth  |        Version:  master
               Severity:  Normal        |       Keywords:
           Triage Stage:  Unreviewed    |      Has patch:  1
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
                  UI/UX:  0             |
----------------------------------------+------------------------
 Add autocomplete=username/email/current-password/new-password to
 contrib.auth builtin forms.

 The most useful one is autocomplete=new-password, which prevents browsers
 prefill with current password, Chrome will also suggest a random strong
 password for users who turned on account sync.

 Related docs:
 https://html.spec.whatwg.org/multipage/form-control-
 infrastructure.html#autofill
 https://www.chromium.org/developers/design-documents/form-styles-that-
 chromium-understands
 https://developer.mozilla.org/en-
 
US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29379>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.de12ffbb2bef4183a0f70b916b3dd036%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to