Bug 21190: (follow-up) Save patron id in failure when available
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 30 Jan 2020 09:27:56 +0000 (09:27 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 15:13:39 +0000 (16:13 +0100)
commit73fd85fd02c2ea5aa69c93413e3d7fcd00c12b15
treed6004de3322d712a48f7376d5c60039cbc782d70
parenta2f24f8e58410cd6d7ceed131182131dd3ce46aa
Bug 21190: (follow-up) Save patron id in failure when available

The wrong password might belong to an existing user. If that is the case,
we have a $patron.
Note that logaction will save the object info but has no user in the
context environment for a failure.

Test plan:
Login with good user, bad pw and bad user, bad pw. Check logviewer.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Auth.pm