ginad
ginad

Reputation: 1985

how goji csrf not working with multipart

I'm learning how to develop a website using go and I've decided to try Goji. Everything is working fine except when I'm trying to use CSRF (goji-csrf) on a file upload I keep getting Forbidden - CSRF token invalid but when I removed enctype="multipart/form-data" in the template the csrf middleware is working fine.

Thanks for the answer in advance guys.

Upvotes: 0

Views: 129

Answers (0)

Related Questions