From b45ae25b0a46fb7f45b106a8cb18b718daa15644 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2013 01:09:24 +0100 Subject: [PATCH] add a danger message if visitor is not using SSL --- nsupdate/templates/base.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nsupdate/templates/base.html b/nsupdate/templates/base.html index d7111c3..9db86e8 100644 --- a/nsupdate/templates/base.html +++ b/nsupdate/templates/base.html @@ -71,6 +71,12 @@
+ {% if not request.is_secure %} +
+ + Your connection is unsecure, please use our secure https site. +
+ {% endif %} {% if messages %} {% for message in messages %}