Getting there to fix BitId, one problem down
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user