From 6c120e32c32273ae8388f9a1cfeebaab63ad9445 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 12 Aug 2016 07:53:51 +0200 Subject: [PATCH] Bug 17110: [EXAMPLE PATCH] CSRF expiry of 10 seconds in opac-sendbasket Content-Type: text/plain; charset=utf-8 This patch should NOT be pushed ! It is used to test the first patch only. --- opac/opac-sendbasket.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index b1f6f3e..4d1d1b8 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -58,6 +58,7 @@ if ( $email_add ) { id => C4::Context->userenv->{id}, secret => md5_base64( C4::Context->config('pass') ), token => scalar $query->param('csrf_token'), + MaxAge => 10, }); } -- 1.7.10.4