mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-01 11:38:54 +01:00
remove not used $error parameter from pam_auth call, as it seems to stop login on some installs
This commit is contained in:
parent
b3f8a8d1f7
commit
b80b2ba098
@ -28,7 +28,7 @@ class auth_pam implements auth_backend
|
||||
*/
|
||||
function authenticate($username, $passwd, $passwd_type='text')
|
||||
{
|
||||
if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd, $error))
|
||||
if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd))
|
||||
{
|
||||
// for new accounts read full name from password file and pass it to EGroupware
|
||||
if (!$GLOBALS['egw']->accounts->name2id($username) &&
|
||||
|
Loading…
Reference in New Issue
Block a user