No CSRF token check for Dvara routes, they do it for themselves when needed
This commit is contained in:
parent
7415175bea
commit
e2ac053d2b
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ instance Yesod App where
|
||||||
Just (ProjectInboxR _ _) -> return False
|
Just (ProjectInboxR _ _) -> return False
|
||||||
Just (RepoInboxR _ _) -> return False
|
Just (RepoInboxR _ _) -> return False
|
||||||
Just (GitUploadRequestR _ _) -> return False
|
Just (GitUploadRequestR _ _) -> return False
|
||||||
|
Just (DvaraR _) -> return False
|
||||||
Just r -> isWriteRequest r
|
Just r -> isWriteRequest r
|
||||||
)
|
)
|
||||||
defaultCsrfHeaderName
|
defaultCsrfHeaderName
|
||||||
|
|
Loading…
Reference in a new issue