Ticket #639 (assigned enhancement)

Opened 5 years ago

Last modified 4 years ago

need better algorithm for account name generation

Reported by: wnorris Owned by: wnorris
Priority: low Component: openid
Severity: minor Keywords:
Cc:

Description

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

comment:1 Changed 4 years ago by wnorris

  • Priority changed from normal to high

comment:2 Changed 4 years ago by wnorris

  • Status changed from new to assigned

comment:3 Changed 4 years ago by alanjcastonguay

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 Changed 4 years ago by wnorris

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 Changed 4 years ago by wnorris

  • 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.