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:
parent
ce5bf27254
commit
a5e769253b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
|
||||||
template_name => "opac-user.tmpl",
|
template_name => "opac-user.tmpl",
|
||||||
query => $query,
|
query => $query,
|
||||||
type => "opac",
|
type => "opac",
|
||||||
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
|
authnotrequired => 0,
|
||||||
flagsrequired => { borrow => 1 },
|
flagsrequired => { borrow => 1 },
|
||||||
debug => 1,
|
debug => 1,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue