[wp-trac] Re: [WordPress Trac] #9568: Allow users to log in using their email address

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 18 20:32:01 GMT 2009


#9568: Allow users to log in using their email address
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  Denis-de-Bernardy
     Type:  feature request    |      Status:  accepted         
 Priority:  high               |   Milestone:  2.9              
Component:  Users              |     Version:  2.8              
 Severity:  major              |    Keywords:  has-patch early  
-------------------------------+--------------------------------------------

Comment(by aaroncampbell):

 Replying to [comment:37 Denis-de-Bernardy]:
 > @aaron: thoughts on this?
 >
 > http://core.trac.wordpress.org/ticket/9568#comment:33
 >
 > I'm still hesitating on whether to make it a mandatory field (in which
 case you'd *need* to fill it in) or an optional one.

 The problem still lies in the automated imports.  I've found that a lot of
 places (Harvard for instance) tend to collect very little info on
 customers.  We had to import a lot of users where they had little more
 than an E-Mail address, so we had to create a bogus username (which was
 ugly).  I'd like to see it be an "either or" kind of thing, and I see two
 ways to do that:

 1. Make a setting to change from using usernames for logging in (and for
 permalinks etc) to using E-Mail addresses.  This would mean that when the
 blog owner tried to change from one to the other that we need to do some
 error checking to make sure that the chosen column has unique values (This
 is because I envision being able to have empty usernames).

 2. Simply open it up and make it so a user can log in with either a
 username OR email, and that only one is required (although both could be
 filled in).  The difficulty here is that you need to enforce a multi-
 column unique key that allows for empty values (which there could be
 plenty of).

 I'm thinking less on the user's end when they sign up, and more about the
 back end for when they're imported.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9568#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list