From 50663784bd3babaa7b6fe820b032f676dfb5a215 Mon Sep 17 00:00:00 2001 From: Matthieu Michelet Date: Tue, 12 Dec 2017 01:24:20 +0100 Subject: [PATCH] =?UTF-8?q?NV=C3=A9rification=20du=20caract=C3=A8re=20s?= =?UTF-8?q?=C3=A9curis=C3=A9=20de=20la=20requete=20http/https=20issue=20#5?= =?UTF-8?q?3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index e81ea639..6f7ecf72 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,7 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc., - + {% if request.is_secure %} + + {%else%} + + {%endif%} {# Load CSS and JavaScript #}