Add one missing return causing db(internal) pass change not to work.
Partially, MDL-9491 Merged from MOODLE_18_STABLE
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ class auth_plugin_db extends auth_plugin_base {
|
||||
|
||||
global $CFG;
|
||||
if ($this->config->passtype === 'internal') {
|
||||
update_internal_user_password($user, $newpassword);
|
||||
return update_internal_user_password($user, $newpassword);
|
||||
} else {
|
||||
// we should have never been called!
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user