From 3ea7ca54b869eeaa55a662840f0ae6ddb7c741f2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 23 Mar 2011 14:14:57 +0000 Subject: [PATCH] remove not used $error parameter from pam_auth call, as it seems to stop login on some installs --- phpgwapi/inc/class.auth_pam.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.auth_pam.inc.php b/phpgwapi/inc/class.auth_pam.inc.php index 100c75e7b7..d27c5f8b43 100644 --- a/phpgwapi/inc/class.auth_pam.inc.php +++ b/phpgwapi/inc/class.auth_pam.inc.php @@ -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) &&