Req #6651 [Opn->Fbk]: Add clarification for custom login functions

From: Date: Mon, 20 Mar 2006 21:28:04 +0000
Subject: Req #6651 [Opn->Fbk]: Add clarification for custom login functions
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7697@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=6651&edit=1 ID: 6651 Updated by: arnaud@php.net Reported By: oscar at oscarm dot org -Status: Open +Status: Feedback Id: 6651 Type: Feature/Change Request Package: Documentation PHP Version: Irrelevant New Comment: Could you be a bit more specific ? (location in the doc, code that needs to be modified) Thank you, Previous Comments: ------------------------------------------------------------------------ [2006-02-01 01:19:33] oscar at oscarm dot org 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 this bug report at http://pear.php.net/bugs/bug.php?id=6651&edit=1

« previous php.pear.doc (#7697) next »