Bug 11715: require authentication for the cataloging Z39.50 search
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 10 Mar 2014 21:56:53 +0000 (10:56 +1300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 25 Jun 2014 15:26:41 +0000 (12:26 -0300)
To test:
1/ go to /cgi-bin/koha/cataloguing/z3950_search.pl when you are not
logged in, notice no log in is enforced
2/ Apply patch
3/ go to /cgi-bin/koha/cataloguing/z3950_search.pl notice you now need
to login

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

cataloguing/z3950_search.pl

index a754c45..d3a3c53 100755 (executable)
@@ -53,7 +53,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
         template_name   => "cataloguing/z3950_search.tmpl",
         query           => $input,
         type            => "intranet",
-        authnotrequired => 1,
         flagsrequired   => { catalogue => 1 },
 });