Req #6651 [NEW]: Add clarification for custom login functions
| From: | oscar at oscarm dot org | Date: | Wed, 01 Feb 2006 06:19:33 +0000 |
| Subject: | Req #6651 [NEW]: Add clarification for custom login functions | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7483@lists.php.net to get a copy of this message | ||
From: oscar at oscarm dot org
Operating system:
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Feature/Change Request
Bug description: Add clarification for custom login functions
Description:
------------
It'd be helpful if the introduction to PEAR_Auth's example mentioned that
the custom login function is called with 3 parameters: the username, the
status of the authentication, and the authentication object itself. It
took me a little while to figure this out (had to look in the code) so
that I could test the authentication status and provide user's feedback on
failed logins.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=6651&edit=1
--