From ebe05d93b8891321c52989d584d87170080e9b6c Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Mon, 6 Jul 2020 17:15:06 -0700 Subject: [PATCH] LP#1526558: use "opac" login type for SIP login with AuthProxy Signed-off-by: Jeff Davis Signed-off-by: Bill Erickson --- Open-ILS/examples/opensrf.xml.example | 1 - Open-ILS/src/perlmods/lib/OpenILS/SIP.pm | 2 +- Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index b7620b1967..eb875b1116 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -549,7 +549,6 @@ vim:et:ts=4:sw=4: staff opac - sip persist diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm index 7e82366692..0a1245f13a 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm @@ -214,7 +214,7 @@ sub login { { username => $username, password => $password, - type => 'sip', + type => 'opac', } ); } else { diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index a0df596f65..eb4919f618 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -450,7 +450,7 @@ sub check_password { { username => $self->{user}->usrname, password => $pwd, - type => 'sip', + type => 'opac', } ); if ($U->event_code($response)) { -- 2.11.0