S2S: Fix bug, CSRF check was accidentally enabled for ProjectInboxR

This commit is contained in:
Pere Lev 2024-04-12 21:24:47 +03:00
parent 1abbfdaa35
commit 68a3fcd7c8
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D

View file

@ -239,6 +239,7 @@ instance Yesod App where
Just (RepoInboxR _) -> return False Just (RepoInboxR _) -> return False
Just (DeckInboxR _) -> return False Just (DeckInboxR _) -> return False
Just (LoomInboxR _) -> return False Just (LoomInboxR _) -> return False
Just (ProjectInboxR _) -> return False
Just (GitUploadRequestR _) -> return False Just (GitUploadRequestR _) -> return False
Just (DvaraR _) -> return False Just (DvaraR _) -> return False
Just r -> isWriteRequest r Just r -> isWriteRequest r