##// END OF EJS Templates
email: add whitespace stripping during registration of users on email addresses.
ergo -
r2385:2808e7be default
parent child Browse files
Show More
@@ -228,7 +228,10 b' def RegisterForm(localizer, edit=False, '
228 228 active = v.StringBoolean(if_missing=False)
229 229 firstname = v.UnicodeString(strip=True, min=1, not_empty=False)
230 230 lastname = v.UnicodeString(strip=True, min=1, not_empty=False)
231 email = All(v.Email(not_empty=True), v.UniqSystemEmail(localizer, old_data))
231 email = All(
232 v.Email(not_empty=True),
233 v.UniqSystemEmail(localizer, old_data),
234 v.UnicodeString(strip=True, min=3))
232 235
233 236 chained_validators = [v.ValidPasswordsMatch(localizer)]
234 237 return _RegisterForm
General Comments 0
You need to be logged in to leave comments. Login now