summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-08-24 18:10:22 -0400
committerRob Crittenden <rcritten@redhat.com>2011-08-24 15:26:20 -0400
commit33fb16067a9dd181a1d54194b9820279f549bc24 (patch)
treedabdc385897af1aa577be21d54bceca39b517519 /ipalib/plugins
parent5d9203bb88db976f7d60ca1f1996c53eac4de8c0 (diff)
downloadfreeipa-33fb16067a9dd181a1d54194b9820279f549bc24.zip
freeipa-33fb16067a9dd181a1d54194b9820279f549bc24.tar.gz
freeipa-33fb16067a9dd181a1d54194b9820279f549bc24.tar.xz
Add option to only prompt once for passwords, use in entitle_register
A Password param always prompted to confirm the entered password. This doesn't make sense if you want to prompt for a password to another system like we do with entitlements. This adds a new boolean option to control the Password prompt parameter. https://fedorahosted.org/freeipa/ticket/1695
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/entitle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/entitle.py b/ipalib/plugins/entitle.py
index 1c1b708..0543b0f 100644
--- a/ipalib/plugins/entitle.py
+++ b/ipalib/plugins/entitle.py
@@ -494,6 +494,7 @@ class entitle_register(LDAPCreate):
Password('password',
label=_('Password'),
doc=_('Registration password'),
+ confirm=False,
),
)