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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 9 Mar 2022 15:07:52 +0000 (15:07 +0000)
commit0460c46fb1b715750f81781a633311a47c73d96b
tree9c2d22edf076e026d080ab2d512f96d16206b479
parent0bda07f26375cc9e1835cedb465ae9090e762e98
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>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt