mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-8968 no auth plugin broken; merged from MOODLE_18_STABLE
This commit is contained in:
parent
3887fe4acd
commit
376b3141e5
@ -49,7 +49,7 @@ class auth_plugin_none {
|
||||
if ($user = get_record('user', 'username', $username, 'mnethostid', $CFG->mnet_localhost_id)) {
|
||||
return validate_internal_user_password($user, $password);
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user