LP#1557621 Verify password barcode / deleted users repair user/berick/lp1557621-pass-verify-cards-and-deleted
authorBill Erickson <berickxx@gmail.com>
Tue, 15 Mar 2016 16:31:37 +0000 (12:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 15 Mar 2016 16:31:37 +0000 (12:31 -0400)
commit0a1d61232032ab3ce432031d70db35767328048f
treede0164d0c3d3067d94752e1700cfb78dea1fccbe
parent03dc0514b36020d39755cc6e75234db23c52c207
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm