Install libring-anti-forgery-clojure by entering the following commands in the terminal:
sudo apt update sudo apt install libring-anti-forgery-clojure
Description:
Ring middleware to prevent CSRF attacks
ring-anti-forgery is a Ring middleware that prevents CSRF attacks via a randomly-generated anti-forgery token. By default, any request that isn't a HEAD or GET request will require an anti-forgery token, or an "access denied" response will be returned. The token is bound to the session, and accessible via the "anti-forgery-token" variable.
Homepage: https://github.com/ring-clojure/ring-anti-forgery
Version: 1.1.0-1
Section: universe/java