fixed issues 1568, no spaces in usermames, thanks Iceberg
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.06.27.07.20.48
|
||||
Version 2.6.0-development+timestamp.2013.06.29.17.06.13
|
||||
|
||||
+1
-1
@@ -1545,7 +1545,7 @@ class Auth(object):
|
||||
settings.table_user_name, []) + signature_list
|
||||
if username or settings.cas_provider:
|
||||
is_unique_username = \
|
||||
[IS_MATCH('[\w\.\-]+'),
|
||||
[IS_MATCH('[\w\.\-]+', strict=True),
|
||||
IS_NOT_IN_DB(db, '%s.username' % settings.table_user_name)]
|
||||
if not settings.username_case_sensitive:
|
||||
is_unique_username.insert(1, IS_LOWER())
|
||||
|
||||
Reference in New Issue
Block a user