Build fix; force SSL on bitId
This commit is contained in:
@@ -579,10 +579,10 @@ namespace Swarmops.Frontend
|
||||
|
||||
string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx/BitIdLogin?x=" + this.bitIdNonce;
|
||||
|
||||
if (this.Request.Url.ToString().StartsWith("http://") && !cloudFlareSsl)
|
||||
/* if (this.Request.Url.ToString().StartsWith("http://") && !cloudFlareSsl) // comment out -- never use insecure BitId
|
||||
{
|
||||
bitIdUri += "&u=1";
|
||||
}
|
||||
}*/
|
||||
|
||||
GuidCache.Set(bitIdUri + "-Intent", "Register-" + CurrentUser.Identity.ToString(CultureInfo.InvariantCulture)); // Intent: register BitID
|
||||
|
||||
|
||||
@@ -113,10 +113,10 @@ namespace Swarmops.Frontend.Pages.Admin
|
||||
this.DropTaxAuthority.Items.Add(new ListItem("[DE] Germany", "DE"));
|
||||
this.DropTaxAuthority.Items.Add(new ListItem("[SE] Sweden", "SE"));
|
||||
|
||||
this.DropVatReportingPeriod.Items.Clear();
|
||||
this.DropVatReportingPeriod.Items.Add(new ListItem("Annually", "12"));
|
||||
this.DropVatReportingPeriod.Items.Add(new ListItem("Quarterly", "3"));
|
||||
this.DropVatReportingPeriod.Items.Add(new ListItem("Monthly", "1"));
|
||||
this.DropVatReportFrequency.Items.Clear();
|
||||
this.DropVatReportFrequency.Items.Add(new ListItem("Annually", "12"));
|
||||
this.DropVatReportFrequency.Items.Add(new ListItem("Quarterly", "3"));
|
||||
this.DropVatReportFrequency.Items.Add(new ListItem("Monthly", "1"));
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
|
||||
Reference in New Issue
Block a user