Bug 22692: Check for patron using cardnumber and userid
authorNick Clemens <nick@bywatersolutions.com>
Fri, 12 Apr 2019 01:23:34 +0000 (01:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 29 Apr 2019 09:43:08 +0000 (10:43 +0100)
commitebc15764ff3371a9327cfe60c22c1186e5a200ae
tree47883248dc741be5f4fe6ee28bf3d40159108c42
parentbc066fea9f855c0fc4e1fbc43736121783d3b77b
Bug 22692: Check for patron using cardnumber and userid

TO test:
1 - Set failed login attempts to 1
2 - Attempt a login with a userid and bad password, no success
3 - Attempt a login with userid and correct password, prevented because
locked
4 - Attempt a login with cardnumber and right password, you are logged
in
5 - Log out, try again with userid and correct password, prevented
because locked?
6 - Apply patch
7 - Repeat 1-3 to lock account
8 - Attempt logging in with cardnumber, you are prevented

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Auth.pm