The e-mail field should not be required.

This commit is contained in:
Rob Crittenden
2007-11-13 15:49:06 -05:00
parent 5011f64243
commit 79544637d6

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')