mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +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
e0d531cab5
commit
05a65fa422
@ -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