mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
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:
parent
65acd2bb97
commit
d972bfd01a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue