MDL-8071 call_time_pass_reference trouble in pam auth

This commit is contained in:
skodak
2007-01-04 12:16:31 +00:00
parent ff768bc57e
commit b91c36bf2d
+4 -1
View File
@@ -66,7 +66,10 @@ class auth_plugin_pam {
// just for testing and debugging
// error_reporting(E_ALL);
if (pam_auth($username, $password, &$errormessage)) {
// call_time_pass_reference of errormessage is deprecated - throws warnings in multiauth
//if (pam_auth($username, $password, &$errormessage)) {
if (pam_auth($username, $password)) {
return true;
}
else {