Add Filter to Username/Password Fields on Login Form?
|Reported by:||cgrymala||Owned by:|
|Component:||Login and Registration||Keywords:||dev-feedback 2nd-opinion|
As a state institution, we are required to remain PCI-compliant. One of the areas we've been dinged in scans in the past, albeit an area that they consider "low risk", is the fact that the username and password fields allow autocomplete.
I understand that it's probably not preferable for everyone using WordPress to have autocomplete turned off on those fields, but it would be nice if it was simple to at least filter those fields to turn it off (or, at the very least, add that as one of the "args" that are used when the form is built).
This should obviously be used both in wp-login.php and in the wp_login_form function within wp-includes/general-template.php
I'm happy to work up a patch for this if this is something that might be supported. Thanks.