Bug 35231: Resolve crash on unexisting patron in Auth
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 2 Nov 2023 13:16:52 +0000 (13:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:42 +0000 (12:04 -0300)
commit53ccbc7b61ec715f120b80723d669b9c164a8b54
tree52c671b683614f93741b0cbced189d9abb47f1ef
parent3c02e599e3d902290ef6029a63a04ff2d87771c3
Bug 35231: Resolve crash on unexisting patron in Auth

Test plan:
Without this patch:
Logout from OPAC. Crash.
Try to login. Crash.

With this patch:
Enable login in tracking triggers. Clear lastseen.
Flush memcache.
Login. Check lastseen.
Logout.
Login.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Auth.pm