From a5e769253b9b75d3b418ac263b62b5573f0b6547 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 21 Jan 2011 17:11:51 -0500 Subject: [PATCH] Bug 4289: OpacPublic prevents login into OPAC If OpacPublic is set to Public, opac-user.pl does not ask for authentication, and takes the patron to a null OPAC summary page. Signed-off-by: Chris Cormack --- opac/opac-user.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index e1e50cfe9d..634b77a9db 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -47,7 +47,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-user.tmpl", query => $query, type => "opac", - authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), + authnotrequired => 0, flagsrequired => { borrow => 1 }, debug => 1, }