diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs index 173d3905..794391ae 100644 --- a/Site5/Master-v5.master.cs +++ b/Site5/Master-v5.master.cs @@ -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); } } diff --git a/VERSION b/VERSION index e95e44b7..3e5787b1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.1.0-alpha07.1 +5.1.0-alpha07.2