]> git.evergreen-ils.org Git - Evergreen.git/commit
fix authentication failure
authorGalen Charlton <gmc@esilibrary.com>
Thu, 6 Oct 2011 17:55:43 +0000 (13:55 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 6 Oct 2011 20:09:49 +0000 (16:09 -0400)
commitf01f4dfaddd2319291ab3d7abf6c931a1f581842
tree6dd60ac2d46f47af9518700125ede30b580e0c65
parentd42d6f76167c54c37afd6eb15460802b95db658d
fix authentication failure

Ensure that the auth_limit values are read when open-ils.auth
initializes, not during oilsAuthInit().  This solves a problem
observed on brick-based setups where authentication could
incorrectly fail because the drone that processes
open-ils.auth.authenticate.complete didn't have the the block
count value initialized yet.

Also fixed type nit when compare the fail count to the block
limit.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/c-apps/oils_auth.c