mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix OTP token names/labels
https://fedorahosted.org/freeipa/ticket/4171 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
3db08227e8
commit
9cf311db1d
@@ -99,7 +99,7 @@ class otptoken(LDAPObject):
|
|||||||
OTP Token object.
|
OTP Token object.
|
||||||
"""
|
"""
|
||||||
container_dn = api.env.container_otp
|
container_dn = api.env.container_otp
|
||||||
object_name = _('OTP tokens')
|
object_name = _('OTP token')
|
||||||
object_name_plural = _('OTP tokens')
|
object_name_plural = _('OTP tokens')
|
||||||
object_class = ['ipatoken']
|
object_class = ['ipatoken']
|
||||||
possible_objectclasses = ['ipatokentotp']
|
possible_objectclasses = ['ipatokentotp']
|
||||||
@@ -110,8 +110,8 @@ class otptoken(LDAPObject):
|
|||||||
]
|
]
|
||||||
rdn_is_primary_key = True
|
rdn_is_primary_key = True
|
||||||
|
|
||||||
label = _('OTP tokens')
|
label = _('OTP Tokens')
|
||||||
label_singular = _('OTP token')
|
label_singular = _('OTP Token')
|
||||||
|
|
||||||
takes_params = (
|
takes_params = (
|
||||||
Str('ipatokenuniqueid',
|
Str('ipatokenuniqueid',
|
||||||
|
|||||||
Reference in New Issue
Block a user