forked from extern/egroupware
Fix broken PAM authentication
This commit is contained in:
parent
b5f7b12209
commit
0c093c132a
@ -24,7 +24,7 @@
|
||||
{
|
||||
function authenticate($username, $passwd)
|
||||
{
|
||||
if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd, $error))
|
||||
if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd, &$error))
|
||||
{
|
||||
return True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user