PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.