Bug 11715: Update POD for get_template_and_user
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 2 May 2014 10:06:30 +0000 (12:06 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 26 Jun 2014 10:32:21 +0000 (06:32 -0400)
If flagsrequired is set, authnotrequired should be 0.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>

C4/Auth.pm

index 7be5a1b..72627d8 100644 (file)
@@ -82,7 +82,7 @@ C4::Auth - Authenticates Koha users
             template_name   => "opac-main.tmpl",
             query           => $query,
       type            => "opac",
-      authnotrequired => 1,
+      authnotrequired => 0,
       flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons' },
   }
     );
@@ -106,7 +106,7 @@ automatically. This gets loaded into the template.
          template_name   => "opac-main.tmpl",
          query           => $query,
          type            => "opac",
-         authnotrequired => 1,
+         authnotrequired => 0,
          flagsrequired   => {borrow => 1, catalogue => '*', tools => 'import_patrons' },
        }
      );