Auth error report
| From: | Eduardo Gargiulo | Date: | Wed, 13 Oct 2004 04:20:15 +0000 |
| Subject: | Auth error report | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14887@lists.php.net to get a copy of this message | ||
Hi all
this is my first message to pear list and I'm a newbie on pear.
I was playing with Auth package (1.3.0r2 beta) and following the manual examples
I realized that getAuth function never returns true value, so the examples
didn't work.
Looking at Auth.php I saw that getAuth function does not have the return command
in case the if condition was true; I added the return command and getAuth start
to work right.
I don't know if this is a bug or not, may be someone in this list could tell me
if I'm wrong.
thanks in advance and sorry for my english
--ejg
PS: another point on Auth package: the pear manual on the file
package.authentication.auth-http.auth-http.example2.html
use the word dbFields to modify the Auth constructor, but in the sources the
word is db_fields.