From 382002cfc45d6a223b58946b3d0d92c60aaacb63 Mon Sep 17 00:00:00 2001 From: Chisel Date: Thu, 18 Sep 2014 08:02:24 +0000 Subject: [PATCH] v0.0.8 - Add option to set XSRF token cookie as a session cookie (pull #13) --- README.mkdn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.mkdn b/README.mkdn index 95aa18d..d1e3fb3 100644 --- a/README.mkdn +++ b/README.mkdn @@ -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 @@ -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 @@ -207,5 +216,6 @@ the same terms as the Perl 5 programming language system itself. - Chisel - Chisel Wright - Matthew Ryall +- Michael Kröll - Sebastian Willert - William Wolf