Bug 6631: Anonymous users can create lists in OPAC

Made opac-addbybiblionumber.pl page require authentication.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Aleksa Vujicic 2012-01-24 14:09:34 +13:00 committed by Paul Poulain
parent 64da5af31d
commit 8eb727d671
1 changed files with 1 additions and 1 deletions

View File

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