Opened 6 years ago

Closed 5 years ago

#2092 closed improve feature (fixed)

Allow . and - in usernames; limit username length to 20

Reported by: shevek Owned by: shevek
Priority: minor Milestone: 2.1
Component: BW Signup Keywords:


As discussed in the forum it should be allowed to use . and - in usernames.

Additionally the length for new usernames should be set to 20.

Change History (4)

comment:1 Changed 6 years ago by shevek

  • Status changed from new to to_alpha

comment:2 Changed 5 years ago by shevek

  • Status changed from to_alpha to testing

Update username regexp: [a-z](?!.*[-_.][-_.])[a-z0-9-._]{2,18}[a-z0-9]$


comment:3 Changed 5 years ago by shevek

The current regexp now allows usernames of lengths up to 20 and at least 4 characters.

The username must start with a letter and end with a letter or a number. In between the characters ., - and _ are allowed but not two of these consecutively.

Valid examples:

a.b.c.d.e.f, abc-def1, Valerie_Sarkozy


a--b, abcefg_, a.-b

comment:4 Changed 5 years ago by shevek

  • Resolution set to fixed
  • Status changed from testing to closed

Created a test user named Shevek-Test.1 that worked fine. Closed as fixed.

Note: See TracTickets for help on using tickets.