Skip to content

Commit

Permalink
[README] Add CSRF links
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Jul 29, 2020
1 parent 3f57c4b commit 149c0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Yup, it's automatic for both Ajax and WebSockets. If the page serving your JavaS

#### Security: CSRF protection?

**This is important**. Sente has support, and use is **strongly recommended**. You'll need to use middleware like `ring-anti-forgery` to generate and check CSRF codes. The `ring-ajax-post` handler should be covered (i.e. protected).
**This is important**. Sente has support, and use is **strongly recommended**. You'll need to use middleware like [ring-anti-forgery](https://github.com/ring-clojure/ring-anti-forgery) or [ring-defaults](https://github.com/ring-clojure/ring-defaults) to generate and check CSRF codes. The `ring-ajax-post` handler should be covered (i.e. protected).

Please see one of the [example projects] for a fully-baked example.

Expand Down

0 comments on commit 149c0fe

Please sign in to comment.