mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* Api: fixed not working HTTP authentication
This commit is contained in:
parent
09e6d56bf5
commit
28cddb8e64
@ -31,7 +31,7 @@ class Http implements Backend
|
||||
*/
|
||||
function authenticate($username, $passwd, $passwd_type='text')
|
||||
{
|
||||
unset($username, $passwd, $passwd_type); // not used, but required by interface
|
||||
unset($passwd, $passwd_type); // not used, but required by interface
|
||||
|
||||
return isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER'] === $username;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user