From 7e745c129962c0c722d7757ebc8600a5680581ba Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 4 Mar 2015 22:20:24 +0100 Subject: [PATCH] Disabling force-SSL when running Open Ledgers --- Site5/Master-v5.master.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs index ddb058ce..28887c73 100644 --- a/Site5/Master-v5.master.cs +++ b/Site5/Master-v5.master.cs @@ -90,7 +90,7 @@ namespace Swarmops // Rewrite if applicable - if (Request.Url.ToString().StartsWith ("http://") && !cloudFlareSsl) + if (Request.Url.ToString().StartsWith ("http://") && !cloudFlareSsl && CurrentUser.Identity > 0) // only check client-side as many server sites de-SSL the connection before reaching the web server { if (!Request.Url.ToString().StartsWith ("http://dev.swarmops.com/") &&