The e-mail field should not be required.
This commit is contained in:
1 parent
5011f64243
commit
79544637d6
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user