mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-26564 print password when changed
This commit is contained in:
parent
faceca9176
commit
2197b642b3
1 changed files with 1 additions and 0 deletions
|
@ -550,6 +550,7 @@ if ($formdata = $mform2->is_cancelled()) {
|
|||
}
|
||||
unset_user_preference('create_password', $existinguser); // no need to create password any more
|
||||
$existinguser->password = hash_internal_user_password($user->password);
|
||||
$upt->track('password', $user->password, 'normal', false);
|
||||
} else {
|
||||
// do not print password when not changed
|
||||
$upt->track('password', '', 'normal', false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue