Another fix for broken legacy data on pilot

This commit is contained in:
Rick Falkvinge
2015-04-20 14:16:58 +02:00
parent 9c73c7e0d1
commit 70f619db2c
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -32,7 +32,17 @@ namespace Swarmops
this._authority = null;
FormsAuthentication.SignOut();
Response.Redirect("/");
Response.Redirect("/", true);
}
// Ugly ugly UGLY legacy: Do not allow Sandbox logins on first pilot - it's broken
if (this._authority.Organization.Identity == 3 &&
PilotInstallationIds.IsPilot (PilotInstallationIds.PiratePartySE))
{
this._authority = null;
FormsAuthentication.SignOut();
Response.Redirect("/", true);
}
}
+1 -1
View File
@@ -1 +1 @@
5.1.0-alpha07.1
5.1.0-alpha07.2