summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/src/freeipa/otptoken.js15
1 files changed, 12 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js
index 56c7684a0..c9570a697 100644
--- a/install/ui/src/freeipa/otptoken.js
+++ b/install/ui/src/freeipa/otptoken.js
@@ -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: [
{