Plugin Directory


Opened 11 years ago

Last modified 10 years ago

#639 assigned enhancement

need better algorithm for account name generation

Reported by: wnorris Owned by: wnorris
Priority: low Severity: minor
Plugin: openid Keywords:


The current algorithm for generating account names for new OpenIDs is pretty bad. A good reference for a better algorithm could likely be found in http://openid.phpbb.cc/

Change History (5)

comment:1 @wnorris10 years ago

  • Priority changed from normal to high

comment:2 @wnorris10 years ago

  • Status changed from new to assigned

comment:3 @alanjcastonguay10 years ago

I used the current algorithm because Wordpress doesn't like : or / in usernames. See sanitize_user() in formatting.php:317. phpbb appears to relax that

comment:4 @wnorris10 years ago

since now accounts are only created from OpenIDs when a user explicitly goes through wp-login.php, perhaps we could add an additional prompt just before creating the account to choose a username?

comment:5 @wnorris10 years ago

  • Priority changed from high to low
  • Severity changed from normal to minor

generation algorithm cleaned up in r24719... still might want to allow users to select their own name one day though.

Note: See TracTickets for help on using tickets.