diff --git a/Logic/Support/ExtensionMethods.cs b/Logic/Support/ExtensionMethods.cs index 07ed6575..e229f294 100644 --- a/Logic/Support/ExtensionMethods.cs +++ b/Logic/Support/ExtensionMethods.cs @@ -15,7 +15,7 @@ namespace System.Web.ExtensionMethods public static void SetJson (this HttpResponse response) { response.ContentType = "application/json"; - response.CacheControl = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"; // IE dumbfixes + response.CacheControl = "no-cache"; response.AddHeader ("Last-Modified", DateTime.UtcNow.ToString (CultureInfo.InvariantCulture)); response.AddHeader ("Pragma", "no-cache"); } diff --git a/Site/Security/Login.aspx.cs b/Site/Security/Login.aspx.cs index 95724b2e..14070427 100644 --- a/Site/Security/Login.aspx.cs +++ b/Site/Security/Login.aspx.cs @@ -180,7 +180,7 @@ namespace Swarmops.Pages.Security string hostName = Request.Url.Host; - string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx?x=" + nonce; + string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx/BitIdLogin?x=" + nonce; if (Request.Url.ToString().StartsWith ("http://") && !cloudFlareSsl) {