Skip to content

Commit

Permalink
MDL-17808 Use users lastname in password change confirmation mails, t…
Browse files Browse the repository at this point in the history
…hanks Andreas Grupp
  • Loading branch information
skodak committed Jan 7, 2009
1 parent c643c2f commit a3c13b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/moodlelib.php
Expand Up @@ -4410,6 +4410,7 @@ function send_password_change_confirmation_email($user) {

$data = new object();
$data->firstname = $user->firstname;
$data->lastname = $user->lastname;
$data->sitename = format_string($site->fullname);
$data->link = $CFG->httpswwwroot .'/login/forgot_password.php?p='. $user->secret .'&s='. urlencode($user->username);
$data->admin = generate_email_signoff();
Expand Down

0 comments on commit a3c13b9

Please sign in to comment.