MDL-71026 user: Fix incorrect get_string call.

This commit is contained in:
Ilya Tregubov
2021-03-03 11:44:30 +02:00
parent f32754319e
commit f702707ef7
+1 -1
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;