]> git.evergreen-ils.org Git - Evergreen.git/commit
fix authentication failure
authorGalen Charlton <gmc@esilibrary.com>
Thu, 6 Oct 2011 18:57:38 +0000 (14:57 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 11 Oct 2011 15:24:44 +0000 (11:24 -0400)
commit44687e2781dba4747fabe9d7f178492fc265d351
tree3ff05b9cff66c84f2afb270ad229dbefe42864fe
parentb53dec7b1e648f2f9c95adfbe1d54f4a0a3ecb9e
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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/c-apps/oils_auth.c