Closed mynomoto closed 10 years ago
(defn custom-error-handler [request] {:status 403 :headers {"Content-Type" "text/html" "X-CSRF-Token" *anti-forgery-token*} :body "<h1>Missing anti-forgery token</h1>"}) (wrap-anti-forgery {:error-handler custom-error-handler})
This issue has been handled by changing the CSRF header name in a29d278fff207a8860e51e1f90b6329abf75fcca.