From 68a3fcd7c8b663288c8c8caac34b35015e924996 Mon Sep 17 00:00:00 2001 From: Pere Lev Date: Fri, 12 Apr 2024 21:24:47 +0300 Subject: [PATCH] S2S: Fix bug, CSRF check was accidentally enabled for ProjectInboxR --- src/Vervis/Foundation.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Vervis/Foundation.hs b/src/Vervis/Foundation.hs index 7758668..3cbd88d 100644 --- a/src/Vervis/Foundation.hs +++ b/src/Vervis/Foundation.hs @@ -239,6 +239,7 @@ instance Yesod App where Just (RepoInboxR _) -> return False Just (DeckInboxR _) -> return False Just (LoomInboxR _) -> return False + Just (ProjectInboxR _) -> return False Just (GitUploadRequestR _) -> return False Just (DvaraR _) -> return False Just r -> isWriteRequest r