Bug 11715 : require authentication for the cataloging authorities Z39.50 search
authorChris Cormack <chrisc@catalyst.net.nz>
Sun, 16 Mar 2014 20:15:05 +0000 (09:15 +1300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 25 Jun 2014 15:26:50 +0000 (12:26 -0300)
To test:
1/ go to /cgi-bin/koha/cataloguing/z3950_auth_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_auth_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_auth_search.pl

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