Comment #2 on issue 1712 by ricklei: Increase auth_user.username field size and allow '@' in user names
http://code.google.com/p/reviewboard/issues/detail?id=1712

A one byte patch to accounts/admin.py would fix the '@' issue:

--- accounts/admin.py   2010-07-06 13:09:40.000000000 +0800
+++ ../reviewboard-local/accounts/admin.py 2010-07-02 09:08:36.000000000 +0800
@@ -8,7 +8,7 @@
 from reviewboard.accounts.models import ReviewRequestVisit, Profile


-USERNAME_REGEX = r'^[-\w.]+$'
+USERNAME_REGEX = r'^[-...@]+$'
 USERNAME_HELP_TEXT = _("Required. 30 characters or fewer. Alphanumeric "
"characters only (letters, digits, underscores, and "
                        "periods).")


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to