summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-11-13 15:49:06 -0500
committerRob Crittenden <rcritten@redhat.com>2007-11-13 15:49:06 -0500
commit79544637d61336d43f8d42dde4f6aad0d60afb64 (patch)
treec9f3d95607456960d87454b69e70dcacd784d32d
parent5011f642436acd1a5de859d9bb7d38c7e269f35c (diff)
downloadfreeipa-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.py2
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')