From 0c093c132a7b383e928c4e5c85c9bd9dfe329bf4 Mon Sep 17 00:00:00 2001 From: petere78 Date: Tue, 24 May 2005 13:01:43 +0000 Subject: [PATCH] Fix broken PAM authentication --- 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 59c3073377..2cb8082a8e 100644 --- a/phpgwapi/inc/class.auth_pam.inc.php +++ b/phpgwapi/inc/class.auth_pam.inc.php @@ -24,7 +24,7 @@ { function authenticate($username, $passwd) { - if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd, $error)) + if (pam_auth($username, get_magic_quotes_gpc() ? stripslashes($passwd) : $passwd, &$error)) { return True; }