PEAR is archived and read-only

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

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