From aca526940556a796977727e54779b62d99c8bb75 Mon Sep 17 00:00:00 2001 From: chirac Date: Tue, 10 Jul 2018 00:04:11 +0200 Subject: [PATCH] =?UTF-8?q?Web=20management=20ssl=20d=C3=A9sactiv=C3=A9=20?= =?UTF-8?q?par=20defaut=20(putain=20de=20clef=20hp=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/hp.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/hp.tpl b/templates/hp.tpl index f67b0cf..310f8c2 100644 --- a/templates/hp.tpl +++ b/templates/hp.tpl @@ -76,8 +76,12 @@ exit ;--- Accès d'administration --- no telnet-server {%- if switch.web_management_enabled %} -web-management ssl +{%- if switch.web_management_enabled != "ssl" %} web-management plaintext +{%- endif %} +{%- if switch.web_management_enabled == "ssl" %} +web-management ssl +{%- endif %} {%- else %} no web-management {%- endif %}