From: Jaswinder Singh Date: Sat, 13 Oct 2018 00:14:33 +0000 (-0400) Subject: LP#1772680: Added Library User Name and PIN element for registration X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3dad660139278f5bef34868c69933d6493ff825c;p=evergreen%2Fpines.git LP#1772680: Added Library User Name and PIN element for registration Signed-off-by: Jaswinder Singh Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/RBDigital.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/RBDigital.pm index 69df7e1f73..eeef80436d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/RBDigital.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/RBDigital.pm @@ -340,7 +340,9 @@ sub _build_search_URI { # "postalCode": "30904", # "isActive": false, # "libraryId": {libraryId}, -# "libraryCard": {libraryCard} +# "libraryCard": {libraryCard}, +# "libUserName": {libraryCard}, +# "libPassword": {LibPassword} # } sub register_patron { my ($self, $username, $password, $user_barcode) = @_; @@ -394,7 +396,10 @@ sub register_patron { postalCode => $postal_code, isActive => $is_active, libraryId => $library_id, - libraryCard => $user_barcode + libraryCard => $user_barcode, + libUserName => $user_barcode, + libPassword => '' + }; my $req = {