Fix logic in SSL certificate validation to ensure proper handling of custom SSL options

This commit is contained in:
Théophile Diot 2025-01-13 11:25:35 +01:00
parent 970a30b65b
commit 3cbab8a660
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -177,7 +177,7 @@ def setup_page():
bool(request.form.get("custom_ssl_cert", "")),
bool(request.form.get("custom_ssl_key", "")),
]
) or not all(
) and not all(
[
bool(request.form.get("custom_ssl_cert_data", "")),
bool(request.form.get("custom_ssl_key_data", "")),