Added minor debug code

This commit is contained in:
Rick Falkvinge
2015-06-10 21:14:17 +02:00
parent df0f3c8675
commit 5fbdd7deb3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ namespace Swarmops.Database
return ReadDocumentFromDataReader (reader);
}
throw new ArgumentException ("Unknown Document Id");
throw new ArgumentException ("Unknown Document Id:" + documentId);
}
}
}
+1 -1
View File
@@ -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);
}
}