Skip to content

Commit

Permalink
Set recipient name to their username
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Aug 23, 2019
1 parent 1665413 commit 3c5c7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/User/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ protected function tryRegister(Router &$router, UserRegisterModel &$model) {
$mail->setFrom($mail_config->recipient_from, 'BNETDocs');
}

$mail->addAddress($email);
$mail->addAddress($email, $username);

if (!empty($mail_config->recipient_reply_to)) {
$mail->addReplyTo($mail_config->recipient_reply_to);
Expand Down

0 comments on commit 3c5c7b3

Please sign in to comment.