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 » Auth » Bug #1802

getAuth() is always Bool(false)

Details

Submitted2004-07-06 03:58 UTC
Fromphp at gonzo dot ch
Assignedyavo
StatusClosed
PackageAuth
PHP Version4.3.7
OSLinux
Roadmaps(Not assigned)

Comments

[2004-07-06 03:58 UTC] php at gonzo dot ch

Description:
------------
After logging in, the getAuth()-function give always
false as return.
I got the right result, as I changed in Auth.php

function getAuth() {
if ( isset($this->session['registered']) ) {
$this->session['registered'];
}
return false;
}

to

function getAuth() {
if ( isset($this->session['registered']) ) {
return $this->session['registered'];
}
return false;
}

Package: Auth-1.3.0r2

Roman

[2004-07-06 06:50 UTC] php at gonzo dot ch

Thanks for your great work.

Roman