mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix broken PAM authentication
This commit is contained in:
parent
f2a058fccf
commit
c9e47a1f28
@ -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