mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-10355 fixed typo; backported from HEAD
This commit is contained in:
parent
275b342ce2
commit
300ade82c4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class auth_plugin_pam extends auth_plugin_base {
|
||||||
|
|
||||||
// call_time_pass_reference of errormessage is deprecated - throws warnings in multiauth
|
// call_time_pass_reference of errormessage is deprecated - throws warnings in multiauth
|
||||||
//if (pam_auth($username, $password, &$errormessage)) {
|
//if (pam_auth($username, $password, &$errormessage)) {
|
||||||
if (pam_auth(stripslashes($username), strislashes($password))) {
|
if (pam_auth(stripslashes($username), stripslashes($password))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue