MDL-10355 fixed typo

This commit is contained in:
skodak
2007-07-05 20:39:41 +00:00
parent 4d248a2e80
commit e5d31b2f1b
+1 -1
View File
@@ -68,7 +68,7 @@ class auth_plugin_pam extends auth_plugin_base {
// call_time_pass_reference of errormessage is deprecated - throws warnings in multiauth
//if (pam_auth($username, $password, &$errormessage)) {
if (pam_auth(stripslashes($username), strislashes($password))) {
if (pam_auth(stripslashes($username), stripslashes($password))) {
return true;
}
else {