diff options
Diffstat (limited to 'install/ui')
-rw-r--r-- | install/ui/policy.js | 10 | ||||
-rw-r--r-- | install/ui/user.js | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js index acad0c8c..ff932bec 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -100,8 +100,14 @@ IPA.krbtpolicy.entity = function(spec) { { name: 'identity', fields: [ - 'krbmaxrenewableage', - 'krbmaxticketlife' + { + name: 'krbmaxrenewableage', + measurement_unit: 'seconds' + }, + { + name: 'krbmaxticketlife', + measurement_unit: 'seconds' + } ] } ], diff --git a/install/ui/user.js b/install/ui/user.js index 24873ecf..7bb5a570 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -188,12 +188,14 @@ IPA.user.entity = function(spec) { { name: 'krbmaxrenewableage', label: IPA.get_entity_param('krbtpolicy', 'krbmaxrenewableage').label, - read_only: true + read_only: true, + measurement_unit: 'seconds' }, { name: 'krbmaxticketlife', label: IPA.get_entity_param('krbtpolicy', 'krbmaxticketlife').label, - read_only: true + read_only: true, + measurement_unit: 'seconds' } ] }, |