LP#1526558: use "opac" login type for SIP login with AuthProxy user/jeffdavis/lp1526558_sip_auth_proxy_rebased
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 7 Jul 2020 00:15:06 +0000 (17:15 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 7 Jul 2020 00:15:06 +0000 (17:15 -0700)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/examples/opensrf.xml.example
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index b7620b1..eb875b1 100644 (file)
@@ -549,7 +549,6 @@ vim:et:ts=4:sw=4:
                             <login_types>
                                 <type>staff</type>
                                 <type>opac</type>
-                                <type>sip</type>
                                 <type>persist</type>
                             </login_types>
                             <org_units>
index 7e82366..0a1245f 100644 (file)
@@ -214,7 +214,7 @@ sub login {
             {
                 username => $username,
                 password => $password,
-                type     => 'sip',
+                type     => 'opac',
             }
         );
     } else {
index a0df596..eb4919f 100644 (file)
@@ -450,7 +450,7 @@ sub check_password {
             {
                 username => $self->{user}->usrname,
                 password => $pwd,
-                type     => 'sip',
+                type     => 'opac',
             }
         );
         if ($U->event_code($response)) {