kit-clj / kit-clj.github.io

Kit documentation
https://kit-clj.github.io/
20 stars 27 forks source link

Not sure what to `require` to access `middleware/wrap-csrf` #51

Open aviflax opened 9 months ago

aviflax commented 9 months ago

I see middleware/wrap-csrf referenced a few times in the site, but I can’t figure out where this comes from. What do I need to require? We should add this to the docs. I noticed the example projects in kit-examples don’t seem to use it. Perhaps it’s no longer a thing? If so we should remove it from the docs.

yogthos commented 9 months ago

Oh yeah that's a good catch. This should be updated to use wrap-anti-forgery from ring-anti-forgery middleware library.