diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-04-05 17:26:35 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-04-05 21:51:34 -0400 |
commit | 316efbc32f7b586df36653aa894e686313a64764 (patch) | |
tree | e04c75afc91ccec0a576f49e4aae38d2d4daa558 /ipalib/plugins/user.py | |
parent | b9a2c11d6f6be6e7e599a48c70e798b720222b35 (diff) | |
download | freeipa-316efbc32f7b586df36653aa894e686313a64764.tar.gz freeipa-316efbc32f7b586df36653aa894e686313a64764.tar.xz freeipa-316efbc32f7b586df36653aa894e686313a64764.zip |
postalCode should be a string not an integer.
postalCode is defined as an Int. This means you can't define one that has
a leading zero nor can you have dashes, letters, etc.
This changes the data type on the server. It will still accept an int
value if provided and convert it into a string.
Bump the API version to 2.1.
ticket 1150
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 0f6fb587..90151446 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -189,7 +189,7 @@ class user(LDAPObject): cli_name='state', label=_('State/Province'), ), - Int('postalcode?', + Str('postalcode?', label=_('ZIP'), ), Str('telephonenumber*', |