PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #1276

Wrong users status after failed login

Details

Submitted2004-04-24 15:31 UTC
Fromworthy at home dot olsztyn dot pl
Assignedlsmith
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSLinux 2.4.25
Roadmaps(Not assigned)

Comments

[2004-04-24 15:31 UTC] worthy at home dot olsztyn dot pl

Description:
------------
When I try to login with handle witch don't exists or I use wrong password class variable $status get value of LIVEUSER_STATUS_ISINACTIVE (-3)

Reproduce code:
---------------
I use example1 from LiveUser-0.10.0.tgz

First try:
login: abc
password: def

Second try:
login: father
password: abcdef

Expected result:
----------------
$status = LIVEUSER_STATUS_UNKNOWN(-6);

or better add new status constant:

$status = LIVEUSER_STATUS_AUTHFAILED(-9);

Actual result:
--------------
In both cases:

$status = LIVEUSER_STATUS_ISINACTIVE(-3);

[2004-04-24 15:34 UTC] worthy at home dot olsztyn dot pl

Version of PHP is irrelevant.

[2004-05-13 10:34 UTC] smith at backendmedia dot com

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.