webui: hide otp fields based on token type
- uses hide empty feature https://fedorahosted.org/freeipa/ticket/4402 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
1 parent
7e7fe57fc9
commit
854bc42913
1 file changed
+8
-3
@@ -202,13 +202,18 @@ return {
|
||||
'ipatokenotpdigits',
|
||||
{
|
||||
name: 'ipatokentotpclockoffset',
|
||||
measurement_unit: 'seconds'
|
||||
measurement_unit: 'seconds',
|
||||
hidden_if_empty: true
|
||||
},
|
||||
{
|
||||
name: 'ipatokentotptimestep',
|
||||
measurement_unit: 'seconds'
|
||||
measurement_unit: 'seconds',
|
||||
hidden_if_empty: true
|
||||
},
|
||||
'ipatokenhotpcounter'
|
||||
{
|
||||
name: 'ipatokenhotpcounter',
|
||||
hidden_if_empty: true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user