Show More
@@ -78,10 +78,10 b' def ValidUsername(edit, old_data):' | |||||
78 | value, state) |
|
78 | value, state) | |
79 |
|
79 | |||
80 |
|
80 | |||
81 | if re.match(r'^[a-zA-Z0-9]{1}[a-zA-Z0-9\-\_]+$', value) is None: |
|
81 | if re.match(r'^[a-zA-Z0-9]{1}[a-zA-Z0-9\-\_\.]+$', value) is None: | |
82 | raise formencode.Invalid(_('Username may only contain ' |
|
82 | raise formencode.Invalid(_('Username may only contain ' | |
83 | 'alphanumeric characters underscores ' |
|
83 | 'alphanumeric characters underscores, ' | |
84 | 'or dashes and must begin with ' |
|
84 | 'periods or dashes and must begin with ' | |
85 | 'alphanumeric character'), |
|
85 | 'alphanumeric character'), | |
86 | value, state) |
|
86 | value, state) | |
87 |
|
87 |
General Comments 0
You need to be logged in to leave comments.
Login now