mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: better otp token type label
https://fedorahosted.org/freeipa/ticket/4402 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
72869e2687
commit
475f6e293e
@ -227,8 +227,8 @@ return {
|
||||
name: 'type',
|
||||
default_value: 'totp',
|
||||
options: [
|
||||
{ label: 'TOTP', value: 'totp' },
|
||||
{ label: 'HOTP', value: 'hotp' }
|
||||
{ label: '@i18n:objects.otptoken.type_totp', value: 'totp' },
|
||||
{ label: '@i18n:objects.otptoken.type_hotp', value: 'hotp' }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -378,7 +378,9 @@
|
||||
"otptoken": {
|
||||
"details": "OTP Token Settings",
|
||||
"disable": "Disable token",
|
||||
"enable": "Enable token"
|
||||
"enable": "Enable token",
|
||||
"type_hotp": "Counter-based (HOTP)",
|
||||
"type_totp": "Time-based (TOTP)"
|
||||
},
|
||||
"permission": {
|
||||
"add_custom_attr": "Add custom attribute",
|
||||
|
@ -520,9 +520,11 @@ class i18n_messages(Command):
|
||||
"users": _("Users"),
|
||||
},
|
||||
"otptoken": {
|
||||
"details": "OTP Token Settings",
|
||||
"disable": "Disable token",
|
||||
"enable": "Enable token",
|
||||
"details": _("OTP Token Settings"),
|
||||
"disable": _("Disable token"),
|
||||
"enable": _("Enable token"),
|
||||
"type_hotp": _("Counter-based (HOTP)"),
|
||||
"type_totp": _("Time-based (TOTP)"),
|
||||
},
|
||||
"permission": {
|
||||
"add_custom_attr": _("Add custom attribute"),
|
||||
|
Loading…
Reference in New Issue
Block a user