From 474076216c13caeca2a1b593346b8617c87a0a4f 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
---
 C4/Auth.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/C4/Auth.pm b/C4/Auth.pm
index cdc4ba80129..7a72aae04c6 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -802,6 +802,7 @@ sub checkauth {
           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;
-- 
2.30.2