]> git.koha-community.org Git - koha.git/commit
Bug 23771: Don't look for patrons if we don't have a userid
authorNick <nick@bywatersolutions.com>
Mon, 7 Oct 2019 20:09:04 +0000 (20:09 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 11 Oct 2019 13:34:10 +0000 (14:34 +0100)
commitc9c6dd10167bc4c60cb384651f4dc802944c4228
tree58ce790cef5ea826200296fa4a7dcbd1eca3af65
parent9d9bb45865c9d6c88952f47f52f0e92ddcce0054
Bug 23771: Don't look for patrons if we don't have a userid

While the code requires external auth to test, the change is simple enough I
think a good read would suffice

To test:
1 - You either need Shib or CAS enabled and setup
2 - Add two users with blank.null cardnumbers
3 - Lock those user accounts
    Set failedloginattempts to 1
    Try a bad login with the userid
    Or set via the DB
4 - Try a good login via the external auth
5 - Note it fails
6 - Apply patch
7 - Login now succeeds

Signed-off-by: Mike Somers - Bridgewater State University <msomers@bridgew.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Auth.pm