MDL-10355 fixed typo; backported from HEAD

This commit is contained in:
skodak 2007-07-05 20:51:13 +00:00
parent 275b342ce2
commit 300ade82c4

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 {