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 <chrisc@catalyst.net.nz>
This commit is contained in:
Ian Walls 2011-01-21 17:11:51 -05:00 committed by Chris Cormack
parent ce5bf27254
commit a5e769253b

View file

@ -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,
}