[Koha-bugs] [Bug 26907] New: Fix POD for C4::Auth::checkauth
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 3 14:06:14 CET 2020
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: koha-bugs at lists.koha-community.org
Reporter: magnus at libriotech.no
QA Contact: testopia at bugs.koha-community.org
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.
More information about the Koha-bugs
mailing list