MDL-71026 user: Fix incorrect get_string call.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user