PEAR is archived and read-only

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

Home » Authentication » LiveUser » Bug #2729

Wrong login credentials break the page posted to.

Details

Submitted2004-11-10 10:44 UTC
Frombenediktlaube at gmail dot com
StatusBogus
PackageLiveUser
PHP Version4.3.8
OSLinux 2.2.24-7.0.3 i686
Roadmaps(Not assigned)

Comments

[2004-11-10 10:44 UTC] benediktlaube at gmail dot com

Description:
------------
Using LiveUser 0.13.3 with DB_Medium, whenever you enter the wrong credentials and submit the login form, the any calls to your LiveUser object ( i.e. $LU->isLoggedIn() ) will break the page with the error "Call to a member function on a non-object".

Wrong logins cannot be handled at all this way.

Expected result:
----------------
I would like to see:

1. $LU staying an object.
2. $LU->isLoggedIn() becoming false
3. Some kind of error message "password wrong / username wrong" stored in the object.

Actual result:
--------------
see above

[2004-11-23 08:10 UTC] smith at backendmedia dot com

Thank you for taking the time to write to us, but this is not
a bug.

This is not really a problem. As Helgi sais, if you want to gracefully deal with this situation turn off autoinit.