Show More
@@ -137,7 +137,7 b' def UserForm(edit=False, available_langu' | |||
|
137 | 137 | active = v.StringBoolean(if_missing=False) |
|
138 | 138 | firstname = v.UnicodeString(strip=True, min=1, not_empty=False) |
|
139 | 139 | lastname = v.UnicodeString(strip=True, min=1, not_empty=False) |
|
140 |
email = All(v.Email(not_empty=True) |
|
|
140 | email = All(v.UniqSystemEmail(old_data), v.Email(not_empty=True)) | |
|
141 | 141 | extern_name = v.UnicodeString(strip=True) |
|
142 | 142 | extern_type = v.UnicodeString(strip=True) |
|
143 | 143 | language = v.OneOf(available_languages, hideList=False, |
@@ -219,7 +219,7 b' def RegisterForm(edit=False, old_data={}' | |||
|
219 | 219 | active = v.StringBoolean(if_missing=False) |
|
220 | 220 | firstname = v.UnicodeString(strip=True, min=1, not_empty=False) |
|
221 | 221 | lastname = v.UnicodeString(strip=True, min=1, not_empty=False) |
|
222 |
email = All(v.Email(not_empty=True) |
|
|
222 | email = All(v.UniqSystemEmail(old_data), v.Email(not_empty=True)) | |
|
223 | 223 | |
|
224 | 224 | chained_validators = [v.ValidPasswordsMatch()] |
|
225 | 225 |
General Comments 0
You need to be logged in to leave comments.
Login now