https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26907

            Bug ID: 26907
           Summary: Fix POD for C4::Auth::checkauth
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Multiple problems here:

- There are several "private" subroutines (starting with underscore) between
the POD and the actual checkauth subroutine, so if you search for "sub
checkauth" you might miss that the POD is actually there (I did).

- The example of how to use the sub is:
($userid, $cookie, $sessionID) = &checkauth($query, $noauth, $flagsrequired,
$type);
but the sub is actually looking for more possible arguments:
 793     my $authnotrequired = shift;
 794     my $flagsrequired   = shift;
 795     my $type            = shift;
 796     my $emailaddress    = shift;
 797     my $template_name   = shift;

- The POD says "The login page is provided using a HTML::Template". As far as I
know that would now be TT, HTML::Template.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to