Hi all!
When anonymous user want to login, he can maybe forget their login name. Usually user names is not private information.
This patch enable auto complete user name in login form.

Also this patch will enable auto complete in "Request new password" page.

Note! You must set permission "access user profiles" for anonymous users.

See screenshots in attachments.

Comments

stokito’s picture

StatusFileSize
new1.38 KB

I am also make patch for Drupal 5.9 (see attachments of this comment)

Notice! In the password request page user email will not be autocompleted for security reasons.

pasqualle’s picture

Version: 6.3 » 7.x-dev
Status: Patch (to be ported) » Needs review

Status: Needs review » Needs work

Patch failed to apply. More information can be found at http://testing.drupal.org/node/14425. If you need help with creating patches please look at http://drupal.org/patch/create

Patch failed to apply. More information can be found at http://testing.drupal.org/node/14424. If you need help with creating patches please look at http://drupal.org/patch/create

Patch failed to apply. More information can be found at http://testing.drupal.org/node/14423. If you need help with creating patches please look at http://drupal.org/patch/create

dave reid’s picture

This should really not have any part of core, but rather a contrib module if you really need this functionality. This would an easy way for people to get a list of all the users on your site. See Dries' comment at http://drupal.org/node/284887#comment-987561:

"The problem with this patch is that it now becomes possible for anonymous users to retrieve a list of all user names in the system. Imagine you have a porn site, and people use their real name as their user name ... Imagine the same for a client side, an e-commerce website, etc. This is an information leak that seems highly unwanted ..."

pasqualle’s picture

it now becomes possible for anonymous users to retrieve a list of all user names in the system

that was my first concern, but Drupal has permission for that, so it can be checked easily..

damien tournoud’s picture

Status: Needs work » Closed (won't fix)

This would be great as a contrib module. But I'm really against that in core.

dave reid’s picture

As was requested, this is now a contributed module: Autocomplete username.