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_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....