summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/otptoken.py
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-10-15 12:26:47 -0400
committerPetr Vobornik <pvoborni@redhat.com>2014-10-16 17:55:39 +0200
commit284792e7d8e06dd6dba24da4362aab56bbaaaef4 (patch)
tree54ecb48cc3e947304df1c6e83d709758287e9630 /ipalib/plugins/otptoken.py
parentc5f7ca58a1b74344c3d39493a9b0645a8f4b64a7 (diff)
downloadfreeipa-284792e7d8e06dd6dba24da4362aab56bbaaaef4.tar.gz
freeipa-284792e7d8e06dd6dba24da4362aab56bbaaaef4.tar.xz
freeipa-284792e7d8e06dd6dba24da4362aab56bbaaaef4.zip
Remove token vendor, model and serial defaults
These defaults are pretty useless and cause more confusion than they are worth. The serial default never worked anyway. And now that we are displaying the token type separately, there is no reason to doubly record these data points. Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipalib/plugins/otptoken.py')
-rw-r--r--ipalib/plugins/otptoken.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ipalib/plugins/otptoken.py b/ipalib/plugins/otptoken.py
index 1bd85d4b9..e4dd6a02e 100644
--- a/ipalib/plugins/otptoken.py
+++ b/ipalib/plugins/otptoken.py
@@ -176,20 +176,14 @@ class otptoken(LDAPObject):
Str('ipatokenvendor?',
cli_name='vendor',
label=_('Vendor'),
- default=u'FreeIPA',
- autofill=True,
),
Str('ipatokenmodel?',
cli_name='model',
label=_('Model'),
- default_from=lambda type: type,
- autofill=True,
),
Str('ipatokenserial?',
cli_name='serial',
label=_('Serial'),
- default_from=lambda id: id,
- autofill=True,
),
OTPTokenKey('ipatokenotpkey?',
cli_name='key',