Bug 20536: (ILL) authnotrequired should be explicitly unset on opac
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Apr 2018 09:22:20 +0000 (10:22 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Apr 2018 19:45:09 +0000 (16:45 -0300)
* koha/opac-illrequest.pl - Added explicit setting of authnotrequired

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-illrequests.pl

index 4590284..6f2b33c 100755 (executable)
@@ -46,7 +46,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
     template_name   => "opac-illrequests.tt",
     query           => $query,
     type            => "opac",
-    authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
+    authnotrequired => 0,
 });
 
 # Are we able to actually work?