LP#1468422 auth API continued.
authorBill Erickson <berickxx@gmail.com>
Thu, 23 Jul 2015 15:37:28 +0000 (11:37 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 23 Nov 2015 16:17:05 +0000 (11:17 -0500)
Added .init.barcode and .init.username.  Modified .init to test barcode
regex.  Lightly tested.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/c-apps/oils_auth.c

index 5f890d9..9404d07 100644 (file)
@@ -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); } 
         }