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:15:55 +00:00
parent e0d531cab5
commit 05a65fa422

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