|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-12 00:51 UTC] mj@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
When there is an error (eg. typo in tablename) in the connection settings for Auth, getAuth returns true == success even if the check fails. The reason is in the method Auth::login: if (!empty($this->username)) { $login_ok = $this->storage->fetchData($this->username, $this->password); } $this->storage->fetchData returns an PEAR-Error-object, which will be treated like true == success in the method.