From bf29ff10d353f054388a45d5f7840d322e42d7ba Mon Sep 17 00:00:00 2001 From: Aleksa Vujicic Date: Tue, 24 Jan 2012 14:09:34 +1300 Subject: [PATCH] Bug 6631: Anonymous users can create lists in OPAC Made opac-addbybiblionumber.pl page require authentication. Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain (cherry picked from commit 8eb727d671f8a264afb3e978a9046c151ed072a9) Signed-off-by: Chris Nighswonger --- opac/opac-addbybiblionumber.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl index fd3124b46b..610b22efae 100755 --- a/opac/opac-addbybiblionumber.pl +++ b/opac/opac-addbybiblionumber.pl @@ -59,7 +59,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "opac-addbybiblionumber.tmpl", query => $query, type => "opac", - authnotrequired =>( C4::Context->preference("OpacPublic") ? 1 : 0 ), + authnotrequired => 0, } ); -- 2.39.5