From 284792e7d8e06dd6dba24da4362aab56bbaaaef4 Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Wed, 15 Oct 2014 12:26:47 -0400 Subject: 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 --- ipalib/plugins/otptoken.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ipalib/plugins/otptoken.py') 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', -- cgit