diff --git a/auth/db/auth.php b/auth/db/auth.php index 4e742c8dd2116..23f4962c3d7ac 100644 --- a/auth/db/auth.php +++ b/auth/db/auth.php @@ -198,7 +198,7 @@ function user_update_password($user, $newpassword) { 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;