mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
53693168fd
commit
50291e7b9a
@ -202,13 +202,18 @@ return {
|
|||||||
'ipatokenotpdigits',
|
'ipatokenotpdigits',
|
||||||
{
|
{
|
||||||
name: 'ipatokentotpclockoffset',
|
name: 'ipatokentotpclockoffset',
|
||||||
measurement_unit: 'seconds'
|
measurement_unit: 'seconds',
|
||||||
|
hidden_if_empty: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'ipatokentotptimestep',
|
name: 'ipatokentotptimestep',
|
||||||
measurement_unit: 'seconds'
|
measurement_unit: 'seconds',
|
||||||
|
hidden_if_empty: true
|
||||||
},
|
},
|
||||||
'ipatokenhotpcounter'
|
{
|
||||||
|
name: 'ipatokenhotpcounter',
|
||||||
|
hidden_if_empty: true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user