Skip to content

Commit

Permalink
v0.0.8
Browse files Browse the repository at this point in the history
 - Add option to set XSRF token cookie as a session cookie (pull #13)
  • Loading branch information
chizmw committed Sep 18, 2014
1 parent e92a2ff commit 382002c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.mkdn
Expand Up @@ -4,7 +4,7 @@ Plack::Middleware::XSRFBlock - Block XSRF Attacks with minimal changes to your a

# VERSION

version 0.0.7
version 0.0.8

# SYNOPSIS

Expand Down Expand Up @@ -53,6 +53,15 @@ modifications to your application.

The name of the cookie used to store the token value.

- cookie\_expiry\_seconds (default: 3\*60\*60)

The expiration time in seconds of the XSRF token

- cookie\_is\_session\_cookie (default: 0)

If set to a true value, the XSRF token cookie will be set as a session cookie
and `cookie_expiry_seconds` will be ignored.

- cookie\_options (default: {})

Extra cookie options to be set with the cookie. This is useful for things like
Expand Down Expand Up @@ -207,5 +216,6 @@ the same terms as the Perl 5 programming language system itself.
- Chisel <chisel.wright@net-a-porter.com>
- Chisel Wright <chisel@chizography.net>
- Matthew Ryall <matt.ryall@gmail.com>
- Michael Kröll <michael.kroell@geizhals.at>
- Sebastian Willert <willert@gmail.com>
- William Wolf <throughnothing@gmail.com>

0 comments on commit 382002c

Please sign in to comment.