https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42924
--- Comment #5 from Marcel de Rooy <[email protected]> --- Created attachment 204360 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204360&action=edit Bug 42924: Restore default MaxAge for CSRF token This patch changes the default MaxAge from 8 hours to 168 hours or 7 days due to usability issues encountered from using a short-lived token. See OWASP for more information on why timestamps with expiry are not necessary for CSRF tokens. The MaxAge is a requirement of the WWW::CSRF token used by Koha, so let's just use a longer expiry in lieu of no expiry. Test plan: 0. apply patch 1. prove t/Token.t Signed-off-by: Jonathan Druart <[email protected]> Signed-off-by: Marcel de Rooy <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
