Message5936
I created an auditor in my tracker. Recording the details here in case
they are useful before we get the core fixed:
in existing userauditor.py added:
valid_username = re.compile('^[a-z0-9_@!%.-]+$', re.IGNORECASE)
at the top of the file.
Added to audit_user_fields:
if 'username' in newvalues:
if not valid_username.match(newvalues['username']):
raise ValueError, "Username/Login Name must consist only of
the letters a-z (any case), digits 0-9 and the symbols: @._-!%"invalid
"%s"'%address
This should allow email addresses as usernames. |
|
Date |
User |
Action |
Args |
2017-02-26 03:57:16 | rouilj | set | messageid: <1488081436.94.0.528442188854.issue2550921@psf.upfronthosting.co.za> |
2017-02-26 03:57:16 | rouilj | set | recipients:
+ rouilj, schlatterbeck, ber |
2017-02-26 03:57:16 | rouilj | link | issue2550921 messages |
2017-02-26 03:57:16 | rouilj | create | |
|