diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2014-10-15 12:26:47 -0400 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-10-16 17:55:39 +0200 |
commit | 284792e7d8e06dd6dba24da4362aab56bbaaaef4 (patch) | |
tree | 54ecb48cc3e947304df1c6e83d709758287e9630 /ipalib/plugins/otptoken.py | |
parent | c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7 (diff) | |
download | freeipa-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.py | 6 |
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', |