Reputation: 1985
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