remove not used $error parameter from pam_auth call, as it seems to stop login on some installs

This commit is contained in:
Ralf Becker 2011-03-23 14:14:57 +00:00
parent e0d40e649b
commit 3ea7ca54b8

View File

@ -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) &&