Added minor debug code
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Swarmops.Database
|
||||
return ReadDocumentFromDataReader (reader);
|
||||
}
|
||||
|
||||
throw new ArgumentException ("Unknown Document Id");
|
||||
throw new ArgumentException ("Unknown Document Id:" + documentId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@ namespace Swarmops.Pages.Security
|
||||
|
||||
if (Request.Url.ToString().StartsWith("http://localhost:"))
|
||||
{
|
||||
Authority cheatLogon = Authority.FromLogin (Person.FromIdentity (1));
|
||||
Authority cheatLogon = Authority.FromLogin (Person.FromIdentity (1), Organization.Sandbox);
|
||||
FormsAuthentication.RedirectFromLoginPage (cheatLogon.ToEncryptedXml(), true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user