webui: add measurement unit to otp token time fields

https://fedorahosted.org/freeipa/ticket/4402

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik 2014-07-24 13:11:35 +02:00
parent cba9dcfe0d
commit 72869e2687

View File

@ -198,8 +198,14 @@ return {
'ipatokenserial',
'ipatokenotpalgorithm',
'ipatokenotpdigits',
'ipatokentotpclockoffset',
'ipatokentotptimestep',
{
name: 'ipatokentotpclockoffset',
measurement_unit: 'seconds'
},
{
name: 'ipatokentotptimestep',
measurement_unit: 'seconds'
},
'ipatokenhotpcounter'
]
}
@ -262,7 +268,10 @@ return {
default_value: '6',
options: ['6', '8']
},
'ipatokentotptimestep'
{
name: 'ipatokentotptimestep',
measurement_unit: 'seconds'
}
],
selfservice_fields: [
{