Auth? Can I generate customized error messages based on the type of login failure?
| From: | bclem at imaginative-enterprises dot com | Date: | Thu, 24 Jun 2004 13:36:32 +0000 |
| Subject: | Auth? Can I generate customized error messages based on the type of login failure? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13305@lists.php.net to get a copy of this message | ||
Hi All,
Is it at all possible to return the exact type of login failure from the auth
class rather than just the constant value of -3? If so, how would I do it?
I have a login form that get's submitted, I'd like to return a custom error
message based on the type of login failure, be it username not registered,
password incorrect, etc etc.
Thanks,
Brent