]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10355 fixed typo
authorskodak <skodak>
Thu, 5 Jul 2007 20:39:41 +0000 (20:39 +0000)
committerskodak <skodak>
Thu, 5 Jul 2007 20:39:41 +0000 (20:39 +0000)
auth/pam/auth.php

index dbb2eb1cee50c6187e991258189367e9c898aa2a..94a179eb299a1c14265a61cab951c737f9693f97 100644 (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 {