authparams : if there is no password provided, don't generate a notice in logs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2964 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -74,6 +74,8 @@ class authparams
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! array_key_exists ("PHP_AUTH_PW", $_SERVER))
|
||||
$_SERVER["PHP_AUTH_PW"] = null;
|
||||
return array ("email"=>trim ($_SERVER["PHP_AUTH_USER"]),
|
||||
"password"=>$_SERVER["PHP_AUTH_PW"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user