From c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7 Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Tue, 14 Oct 2014 14:30:01 -0400 Subject: [PATCH] Remove token ID from self-service UI Also, fix labels to properly use i18n strings for token types. Reviewed-By: Petr Vobornik --- install/ui/src/freeipa/otptoken.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js index d5afd25e6..2daeed9b6 100644 --- a/install/ui/src/freeipa/otptoken.js +++ b/install/ui/src/freeipa/otptoken.js @@ -289,14 +289,10 @@ 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' } ] }, - { - name: 'ipatokenuniqueid', - required: false - }, 'description' ] }