From 3847e9498c276e85db7861738f022a7a61ad3638 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 3 Aug 2022 12:21:18 +0200 Subject: [PATCH] Removing so-called Fulhack for debugging --- Site/Security/Login.aspx.cs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Site/Security/Login.aspx.cs b/Site/Security/Login.aspx.cs index 2d66c234..78e826d6 100644 --- a/Site/Security/Login.aspx.cs +++ b/Site/Security/Login.aspx.cs @@ -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)