diff --git a/Site/Automation/SwarmFunctions.aspx.cs b/Site/Automation/SwarmFunctions.aspx.cs index 54e5260d..f20b0097 100644 --- a/Site/Automation/SwarmFunctions.aspx.cs +++ b/Site/Automation/SwarmFunctions.aspx.cs @@ -398,7 +398,7 @@ namespace Swarmops.Frontend.Automation // We can only verify password for personId zero (the self) - if (personId != 0) + if (personId != 0 && personId != authData.CurrentUser.Identity) { return false; } diff --git a/Site/Security/Login.aspx.cs b/Site/Security/Login.aspx.cs index 4122916b..5aacc3c6 100644 --- a/Site/Security/Login.aspx.cs +++ b/Site/Security/Login.aspx.cs @@ -82,10 +82,6 @@ namespace Swarmops.Pages.Security PilotInstallationIds.IsPilot (PilotInstallationIds.DevelopmentSandbox) && Request.QueryString["SuppressAutologin"] != "true") { - // HACK TEMPORARY FOR DEBUGGING SANDBOX - // DELETE THE FOLLOWING LINE - Person.FromIdentity(1).SetPassword("sandbox"); - DashboardMessage.Set ("

You have been logged on as Sandbox Administrator to the Swarmops Development Sandbox.


This machine runs the latest development build, so you may run into diagnostic code and half-finished features. All data here is bogus test data and is reset every night.


In other words, welcome, and play away!

"); FormsAuthentication.SetAuthCookie (Authority.FromLogin (Person.FromIdentity (1), Organization.Sandbox).ToEncryptedXml(), true); Response.Redirect ("/");