Skip to content

Commit

Permalink
MDL-71026 user: Fix incorrect get_string call.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed Mar 3, 2021
1 parent 95dd305 commit 2deaee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/editadvanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
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;
Expand Down

0 comments on commit 2deaee3

Please sign in to comment.