PEAR is archived and read-only

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

Home » Authentication » Auth_HTTP » Bug #95

Unable to Auth

Details

Submitted2003-10-13 17:04 UTC
Frompear at handco dot org
Assignedmj
StatusClosed
PackageAuth_HTTP
PHP Version4.3.2
OSWin / Nux
Roadmaps(Not assigned)

Comments

[2003-10-13 17:04 UTC] pear at handco dot org

Description:
------------
It's impossible to auth with the Auth_HTTP class.

Some users foudn a solution on the mailing list :

Replace the assignData function by :

function assignData(){

if ($_SERVER['PHP_AUTH_USER'] != "") {
$this->username = $_SERVER['PHP_AUTH_USER'];
}

if ($_SERVER['PHP_AUTH_PW'] != "") {
$this->password = $_SERVER['PHP_AUTH_PW'];
}
}

Then it work well...l

Expected result:
----------------
Auth correctly

Actual result:
--------------
Loop for waiting Auth....