1
0
Fork 0
mirror of https://code.naskya.net/repos/ndqEd synced 2025-01-10 10:46:45 +09:00

No CSRF token check for Dvara routes, they do it for themselves when needed

This commit is contained in:
fr33domlover 2020-09-01 14:11:47 +00:00
parent 7415175bea
commit e2ac053d2b

View file

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