]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1557621 Verify password barcode / deleted users repair
authorBill Erickson <berickxx@gmail.com>
Tue, 15 Mar 2016 16:31:37 +0000 (12:31 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 15 Mar 2016 18:16:41 +0000 (14:16 -0400)
commit056819157925de1d8897ec6a508c1230d8acd53a
tree718504f536751fe98cb67b3aeb6636694c3ff647
parent9b38c454ead9b1c1f44bdf9b5953bc5707789032
LP#1557621 Verify password barcode / deleted users repair

* Fixes bug that caused password verify calls to fail with an exception
  when tested with a barcode.

* Verify API always returns false when tested on deleted users.

To test:

1. In the staff client, navigate to Circulation -> Verify Credentials
2. Confirm username and barcode lookups return success for a non-deleted
   user using the correct password.
3. Delete a test user in the database:
   UPDATE actor.usr SET deleted = TRUE WHERE id = <id-of-test-user>;
4. Re-do step 2 confirming non-success results are returned.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm