MDL-71026 user: Fix incorrect get_string call.

This commit is contained in:
Ilya Tregubov 2021-03-03 11:11:23 +02:00
parent 95dd305cc6
commit 2deaee321e

View File

@ -204,7 +204,7 @@ if ($userform->is_cancelled()) {
if (!$authplugin->is_internal() and $authplugin->can_change_password() and !empty($usernew->newpassword)) {
if (!$authplugin->user_update_password($usernew, $usernew->newpassword)) {
// Do not stop here, we need to finish user creation.
debugging(get_string('cannotupdatepasswordonextauth', '', '', $usernew->auth), DEBUG_NONE);
debugging(get_string('cannotupdatepasswordonextauth', 'error', $usernew->auth), DEBUG_NONE);
}
}
$usercreated = true;