]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 11 Mar 2022 04:39:31 +0000 (05:39 +0100)
commit3742547d4ca50bba55e00c7597a25e860c75fd75
treec06e3321be602e0e447feed40809d83adb7b783b
parentc2e512e4fcb9491330d5d50d67fe6b8e54a68eaa
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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 69479ba5316f66dcd6b87356874320aed2c8a517)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt