mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-71026 user: Fix incorrect get_string call.
This commit is contained in:
parent
95dd305cc6
commit
2deaee321e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user