]> git.koha-community.org Git - koha.git/commit
Bug 29956: Prevent login form to be serialized into cookie
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 27 Jan 2022 13:14:27 +0000 (14:14 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 11 Feb 2022 11:10:51 +0000 (06:10 -0500)
commit2a4fa92458369b3b6689ad2d468752fceec8d2ec
tree045107f396dc5265a94ff4c5425d443b33c02f75
parent8b91d08faedc00fffc9e88c36c58a6f7a61f411b
Bug 29956: Prevent login form to be serialized into cookie

To recrate:
Logout
Go to /cgi-bin/koha/opac-search.pl
Click "Log in to your account"
Fill in the login form
Submit
Check the 'form_serialized' cookie's value

=> Without this patch it contain login/password
=> With this patch applied the cookie is not created

Confirm that the "Return to the last advanced search" feature still
works as expected.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt