summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/otptoken.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/plugins/otptoken.py')
-rw-r--r--ipaserver/plugins/otptoken.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipaserver/plugins/otptoken.py b/ipaserver/plugins/otptoken.py
index fda05ce0b..56b8c911b 100644
--- a/ipaserver/plugins/otptoken.py
+++ b/ipaserver/plugins/otptoken.py
@@ -264,6 +264,10 @@ class otptoken(LDAPObject):
minvalue=0,
flags=('no_update'),
),
+ Str('uri?',
+ label=_('URI'),
+ flags={'virtual_attribute', 'no_create', 'no_update', 'no_search'},
+ ),
)
@@ -277,10 +281,6 @@ class otptoken_add(LDAPCreate):
Flag('no_qrcode', label=_('Do not display QR code'), default=False),
)
- has_output_params = LDAPCreate.has_output_params + (
- Str('uri?', label=_('URI')),
- )
-
def execute(self, ipatokenuniqueid=None, **options):
return super(otptoken_add, self).execute(ipatokenuniqueid, **options)