diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-11-13 15:49:06 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-11-13 15:49:06 -0500 |
commit | 79544637d61336d43f8d42dde4f6aad0d60afb64 (patch) | |
tree | c9f3d95607456960d87454b69e70dcacd784d32d | |
parent | 5011f642436acd1a5de859d9bb7d38c7e269f35c (diff) | |
download | freeipa-79544637d61336d43f8d42dde4f6aad0d60afb64.tar.gz freeipa-79544637d61336d43f8d42dde4f6aad0d60afb64.tar.xz freeipa-79544637d61336d43f8d42dde4f6aad0d60afb64.zip |
The e-mail field should not be required.
-rw-r--r-- | ipa-server/ipa-gui/ipagui/forms/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipa-gui/ipagui/forms/user.py b/ipa-server/ipa-gui/ipagui/forms/user.py index b426f8e91..7cc150eff 100644 --- a/ipa-server/ipa-gui/ipagui/forms/user.py +++ b/ipa-server/ipa-gui/ipagui/forms/user.py @@ -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') |