kemal-csrf~fridgerator

Add CSRF protection to your Kemal application
0.1.0 released

kemal-csrf

Adds CSRF protection to your Kemal application.

Requires a session middleware to be initialized first.

Installation

Add this to your application's shard.yml:

dependencies:
  kemal-csrf:
    github: kemalcr/kemal-csrf

Usage

require "kemal-csrf"

add_handler CSRF.new

Contributing

  1. Fork it ( https://github.com/kemalcr/kemal-csrf/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • sdogruyol Serdar Dogruyol - creator, maintainer
kemal-csrf:
  github: fridgerator/kemal-csrf
  version: ~> 0.1.0
License MIT
Crystal 0.20.0

Authors

Dependencies 1

  • kemal-session 0.3.0
    {'github' => 'kemalcr/kemal-session', 'version' => '0.3.0'}

Development Dependencies 1

  • kemal master
    {'branch' => 'master', 'github' => 'sdogruyol/kemal'}

Dependents 1

Last synced .
search fire star recently