Build fix; force SSL on bitId

This commit is contained in:
Rick Falkvinge
2017-10-16 11:55:43 +02:00
parent f8376ce654
commit 39f6ba0c55
+2 -1
View File
@@ -182,10 +182,11 @@ namespace Swarmops.Pages.Security
string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx/BitIdLogin?x=" + nonce;
/* -- commented out: NEVER permit BitId over non-SSL
if (Request.Url.ToString().StartsWith ("http://") && !cloudFlareSsl)
{
bitIdUri += "&u=1";
}
}*/
this.LiteralUri.Text = HttpUtility.UrlEncode (bitIdUri);
this.LiteralNonce.Text = nonce;