The e-mail field should not be required.

This commit is contained in:
Rob Crittenden committed 2007-11-13 15:49:06 -05:00
1 parent 5011f64243
commit 79544637d6
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ class UserNewValidator(validators.Schema):
userpassword_confirm = validators.String(not_empty=False)
givenname = validators.String(not_empty=True)
sn = validators.String(not_empty=True)
mail = validators.Email(not_empty=True)
mail = validators.Email(not_empty=False)
chained_validators = [
validators.FieldsMatch('userpassword', 'userpassword_confirm')