Bugzilla – Attachment 156768 Details for
Bug 35008
ILS-DI should not ask for login with OpacPublic disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35008: Make ILS-DI not require auth when OpacPublic disabled
Bug-35008-Make-ILS-DI-not-require-auth-when-OpacPu.patch (text/plain), 1.55 KB, created by
Katrin Fischer
on 2023-10-09 20:41:26 UTC
(
hide
)
Description:
Bug 35008: Make ILS-DI not require auth when OpacPublic disabled
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-09 20:41:26 UTC
Size:
1.55 KB
patch
obsolete
>From b5fb6568f8cae997cfc2dffe2721e0818997496c Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Sun, 8 Oct 2023 21:59:19 +0000 >Subject: [PATCH] Bug 35008: Make ILS-DI not require auth when OpacPublic > disabled > >To test, disable OpacPublic and ensure a call to ilsdi.pl will still return expected results from a private browser, not logged into the OPAC. > >Sponsored-by: Auckland University of Technology >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Auth.pm | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index cdc4ba8012..652a1d0ba3 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -796,15 +796,16 @@ sub checkauth { > > if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) { > my @allowed_scripts_for_private_opac = qw( >- opac-memberentry.tt >- opac-registration-email-sent.tt >- opac-registration-confirmation.tt >- opac-memberentry-update-submitted.tt >- opac-password-recovery.tt >- opac-reset-password.tt >+ opac-memberentry.tt >+ opac-registration-email-sent.tt >+ opac-registration-confirmation.tt >+ opac-memberentry-update-submitted.tt >+ opac-password-recovery.tt >+ opac-reset-password.tt >+ ilsdi.tt > ); > $authnotrequired = 0 unless grep { $_ eq $template_name } >- @allowed_scripts_for_private_opac; >+ @allowed_scripts_for_private_opac; > } > > my $timeout = _timeout_syspref(); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35008
:
156714
|
156768
|
158301
|
158780
|
158804