]> 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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Wed, 9 Mar 2022 01:46:45 +0000 (01:46 +0000)
commit8aeac893ce0cc6a210ad952fe84ce078385176f1
treed950b338136545cb78a9b57c8dccbfcb9c155e3c
parentab2774aaabb47250c946df984bf56dc7d90b5a08
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: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt