Questions about LiveUser
| From: | Bertrand Mansion | Date: | Mon, 30 Dec 2002 17:09:25 +0000 |
| Subject: | Questions about LiveUser | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11965@lists.php.net to get a copy of this message | ||
Hi,
I don't understand the logic behind the way user logins are checked in
LiveUser. In my tests, if a user uses the right handle (or login) and a
wrong password, a user object is created... Even if the password is wrong.
Because the password is wrong, I can't let him in.
But because the user was found by its handle (or login), and the user object
was created, he can't login anymore.
This is because the method tryLogin() in loginManager is only called when
the user object does not exist.
Is this the expected behaviour ? In which case, what is the workaround ?
TIA
Bertrand Mansion
Mamasam