summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-04-30 15:54:47 +0200
committerRob Crittenden <rcritten@redhat.com>2009-04-30 13:50:05 -0400
commit75b551fd5e538445f4f822f73d03f1222c23438b (patch)
treebd0744b0a90386ffed7471c2513238f4130d6e37 /ipalib
parent24790748fe182ae56ff2b9a87bee1f6456debc73 (diff)
downloadfreeipa-75b551fd5e538445f4f822f73d03f1222c23438b.tar.gz
freeipa-75b551fd5e538445f4f822f73d03f1222c23438b.tar.xz
freeipa-75b551fd5e538445f4f822f73d03f1222c23438b.zip
Use right attribute name for e-mail in user2 plugin.
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/user2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/user2.py b/ipalib/plugins/user2.py
index b322aa87d..e65fe1d80 100644
--- a/ipalib/plugins/user2.py
+++ b/ipalib/plugins/user2.py
@@ -74,8 +74,8 @@ class user2(Object):
doc='Kerberos principal name',
default_from=lambda uid: '%s@%s' % (uid, api.env.realm),
),
- Str('mailaddress?',
- cli_name='e_mail',
+ Str('mail?',
+ cli_name='email',
doc='e-mail address',
),
Password('userpassword?',