From: Jeff Godin Date: Tue, 28 May 2013 20:29:15 +0000 (-0400) Subject: Rename user to uid in auth response X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1d4a2f3f6b25dc55832642465e33712f83e3f664;p=evergreen%2Ftadl.git Rename user to uid in auth response Rename "user" to "uid" in auth response, attempt to avoid confusion with input variable "user". Signed-off-by: Jeff Godin --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/LibraryREST.pm b/Open-ILS/src/perlmods/lib/OpenILS/LibraryREST.pm index 9d1d10e641..acaba8a91e 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/LibraryREST.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/LibraryREST.pm @@ -63,7 +63,7 @@ sub get_auth { ); return { - user => $session->id(), + uid => $session->id(), token => $response->{payload}->{authtoken}, };