Home » Authentication » Auth_HTTP » Bug #95
Unable to Auth
Details
| Submitted | 2003-10-13 17:04 UTC |
|---|---|
| From | pear at handco dot org |
| Assigned | mj |
| Status | Closed |
| Package | Auth_HTTP |
| PHP Version | 4.3.2 |
| OS | Win / 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....