Removing so-called Fulhack for debugging

This commit is contained in:
Rick Falkvinge
2022-08-03 12:21:18 +02:00
parent bac750c204
commit 3847e9498c
+1 -16
View File
@@ -90,22 +90,7 @@ namespace Swarmops.Pages.Security
// If we're on an Open Ledgers domain, autologin as Open Ledgers
// END-OF-LIFE HARDCODED AS QFE
Organization organizationOpenLedgers = null;
if (requestHost == "freiberufler.falkvinge.net")
{
organizationOpenLedgers = Organization.FromIdentity(8);
}
else if (requestHost == "openledgers.pirateacademy.eu")
{
organizationOpenLedgers = Organization.FromIdentity(7);
}
// The below line threw weird exceptions, solved temporarily by hardcode above
// Organization organizationOpenLedgers = Organization.FromOpenLedgersDomain(requestHost); // returns null if doesn't exist
Organization organizationOpenLedgers = Organization.FromOpenLedgersDomain(requestHost); // returns null if doesn't exist
if (organizationOpenLedgers != null)