View Issue Details

IDProjectCategoryView StatusLast Update
0004471mantisbtadministrationpublic2007-12-20 01:37
Reporternurikabe Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.0rc1 
Summary0004471: Can't add email addresses as usernames from [Manage Accounts][Create New Account]
Description

However, an account can later be edited and the username changed to an email address.

We would like to always be able to set usernames as email addresses. We have multiple clients logging into and managing private projects in Mantis; email address is a good choice for usernames.

Additional Information

APPLICATION ERROR 0000805

The username is invalid. Usernames may only contain letters, numbers, spaces, hyphens, and underscores.

TagsNo tags attached.

Relationships

duplicate of 0005022 closedvboctor user-names must not contain dots [.] 
has duplicate 0007261 closedryandesign Registering new user doesn't allow certain characters 

Activities

chocolateboy

chocolateboy

2004-09-24 07:20

reporter   ~0007733

Last edited: 2005-06-07 15:35

This is easily tweaked.


  • copy $g_user_login_valid_regex from config_defaults_inc.php to config_inc.php and add '\@' and '.' (and any other required characters)

  • grep for ERROR_USER_NAME_INVALID in the appropriate language file(s) (e.g. lang/strings_english.txt) and update it/them to reflect the new rule


It's still (presumably) a bug that the rule isn't re-enforced when the account is updated. And it's at least an RFE that:


  1. these characters aren't included by default

  2. the field is only 32 characters long, which is a bit short for those pesky aloysiusfoobar@somelongcompanyname.com addresses

edited on: 09-24-04 12:48

nurikabe

nurikabe

2006-07-17 23:59

reporter   ~0013108

Just upgraded. Still an issue; would be nice to have fixed be default. FYI.

nurikabe

nurikabe

2007-01-02 09:14

reporter   ~0013887

Last edited: 2007-09-28 11:55

Still an issue as per chocolateboy's updated comment above.

nurikabe

nurikabe

2007-10-29 15:10

reporter   ~0016019

Looks like this has finally been changed in 1.1.0.

giallu

giallu

2007-10-30 05:33

reporter   ~0016027

We will be using 0005022 for tracking this issue. Feel free to add your comments there