Bugzilla – Attachment 158301 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.65 KB, created by
Marcel de Rooy
on 2023-11-03 07:44:51 UTC
(
hide
)
Description:
Bug 35008: Make ILS-DI not require auth when OpacPublic disabled
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-11-03 07:44:51 UTC
Size:
1.65 KB
patch
obsolete
>From 8e1018b4d56f7030e3d8a4c176302ae33e685072 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 >Content-Type: text/plain; charset=utf-8 > >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> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Auth.pm | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 90c028b270..c449c318a9 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -795,15 +795,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