From: Bill Erickson Date: Thu, 23 Jul 2015 15:37:28 +0000 (-0400) Subject: LP#1468422 auth API continued. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6d99643f34c45ebc7e31c179e658cc0c863c54c5;p=working%2FEvergreen.git LP#1468422 auth API continued. Added .init.barcode and .init.username. Modified .init to test barcode regex. Lightly tested. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 5f890d904c..9404d07b8f 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -176,8 +176,8 @@ static char* oilsAuthGetSalt(int userId) { if (salt_obj->type != JSON_NULL) { const char* salt_val = jsonObjectGetString( - jsonObjectGetKeyConst(salt_obj, "get_salt")); - + jsonObjectGetKeyConst(salt_obj, "actor.get_salt")); + // caller expects a free-able string, could be NULL. if (salt_val) { salt_str = strdup(salt_val); } }