Debugging

This commit is contained in:
Rick Falkvinge
2022-08-02 15:18:15 +02:00
parent 7ab7a3a811
commit 243107792c
+4 -4
View File
@@ -88,14 +88,14 @@ namespace Swarmops.Pages.Security
Response.Redirect (HttpContext.Current.Request ["ReturnUrl"]); // Returns to the requested URL with auth cookie set
}
// DEBUG: Check if this exception throws to find out exactly where the current problem is
throw new NotImplementedException();
// If we're on an Open Ledgers domain, autologin as Open Ledgers
Organization organizationOpenLedgers = Organization.FromOpenLedgersDomain(requestHost); // returns null if doesn't exist
// DEBUG: Check if this exception throws to find out exactly where the current problem is
throw new NotImplementedException();
if (organizationOpenLedgers != null)
{
DashboardMessage.Set (String.Format(Resources.Pages.Security.Login_AsOpenLedgers, organizationOpenLedgers.Name));