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>
This commit is contained in:
Nathaniel McCallum 2014-10-14 14:30:01 -04:00 committed by Petr Vobornik
parent 061f7ff331
commit c5f7ca58a1

View File

@ -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'
]
}