corrected domain-formfields visibility flag for ssl-related settings

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-26 12:07:55 +02:00
parent c087ac18d5
commit dbd1fe3846
2 changed files with 5 additions and 2 deletions

View File

@@ -207,6 +207,7 @@ return [
'value' => lng('panel.nosslipsavailable')
],
'ssl_ipandport' => [
'visible' => !empty($ssl_ipsandports),
'label' => lng('domains.ipandport_ssl_multi.title'),
'desc' => lng('domains.ipandport_multi.description'),
'type' => 'checkbox',
@@ -303,7 +304,7 @@ return [
'checked' => false
],
'hsts_maxage' => [
'visible' => $ssl_ipsandports != '',
'visible' => !empty($ssl_ipsandports),
'label' => lng('admin.domain_hsts_maxage.title'),
'desc' => lng('admin.domain_hsts_maxage.description'),
'type' => 'number',