From ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 11 Oct 2024 15:43:17 +0200 Subject: [webinterface] Remove the 'off' option for HTTPS As we always use a self-signed certificate for client communication, you cannot really turn off HTTPS, and explicitly generating another self-signed certificate for slx-admin is rather pointless. So internally, we actually remove the option for a self-signed certificate, and rename the "off" option to using a self-signed one. --- modules-available/webinterface/templates/https.html | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'modules-available/webinterface/templates/https.html') diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html index b109fa9d..a93b8fb8 100644 --- a/modules-available/webinterface/templates/https.html +++ b/modules-available/webinterface/templates/https.html @@ -9,9 +9,6 @@

{{lang_youreUsingHttps}}

{{/httpsUsed}}
- {{#offSelected}} -

{{lang_offSelected}}

- {{/offSelected}} {{#unknownSelected}}

{{lang_unknownSelected}}

{{/unknownSelected}} @@ -111,7 +108,7 @@
- {{#httpsEnabled}} + {{^generatedSelected}}
@@ -123,19 +120,7 @@ {{lang_noHttps}}
- {{/httpsEnabled}} - -
- - - - - - - - {{lang_randomCert}} - -
+ {{/generatedSelected}}
-- cgit v1.2.3-55-g7522