Skip to content

Commit 3c5c7b3

Browse files
committed
Set recipient name to their username
1 parent 1665413 commit 3c5c7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/User/Register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected function tryRegister(Router &$router, UserRegisterModel &$model) {
198198
$mail->setFrom($mail_config->recipient_from, 'BNETDocs');
199199
}
200200

201-
$mail->addAddress($email);
201+
$mail->addAddress($email, $username);
202202

203203
if (!empty($mail_config->recipient_reply_to)) {
204204
$mail->addReplyTo($mail_config->recipient_reply_to);

0 commit comments

Comments
 (0)