Skip to content

Commit

Permalink
MDL-26564 print password when changed
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Mar 1, 2011
1 parent faceca9 commit 2197b64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/uploaduser.php
Expand Up @@ -550,6 +550,7 @@
}
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);
Expand Down

0 comments on commit 2197b64

Please sign in to comment.