Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI-Application-Plugin-Authentication CPAN distribution.

Report information
The Basics
Id:
82390
Status:
new
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
pacificsymphony5 [...] yahoo.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



Subject: documentation error re generic driver
The documentation gives the following sample code: DRIVER => [ [ 'Generic', { user1 => '123' } ], [ 'Generic', sub { my ($u, $p) = @_; is_prime($p) ? 1 : 0 } ] ], For the case where the authentication method is a user-defined subroutine, this is written as if the sub is supposed to return a boolean. Actually, it's expected to return the username (if the credentials are valid) or something that evaluates to false (if the credentials are invalid).


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.