[Koha-bugs] [Bug 17110] Lower CSRF expiry in Koha::Token

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 11 15:31:12 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17110

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 54313
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54313&action=edit
Bug 17110: Lower CSRF expiry in Koha::Token

Default expiry in WWW:CSRF is one week.
This patch sets it to 8 hours by default in Koha, and allows to
change the expiry period individually by passing MaxAge.

Test plan:
[1] Put items in your cart.
[2] Apply the example patch too.
[3] Send the cart from opac within the allotted 10 seconds.
[4] Send again, but wait some 10 seconds before submitting. Too late!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list