diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2014-10-14 14:30:01 -0400 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-10-16 17:53:27 +0200 |
commit | c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7 (patch) | |
tree | 75f97a27283fb999d1eb8b762b2a1d711210da00 | |
parent | 061f7ff331531fa01801fb597feed924de6a2fd7 (diff) | |
download | freeipa-c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7.tar.gz freeipa-c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7.tar.xz freeipa-c5f7ca58a1b74344c3d39493a9b0645a8f4b64a7.zip |
Remove token ID from self-service UI
Also, fix labels to properly use i18n strings for token types.
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r-- | install/ui/src/freeipa/otptoken.js | 8 |
1 files 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' ] } |