From 50ccbfe62796c3e078edde9d03457e7c5b3b7c3f Mon Sep 17 00:00:00 2001 From: ozzzzzzzam Date: Sat, 25 Jan 2020 21:35:47 +0800 Subject: [PATCH] Remove forum title from confirmation email subject (#1613) The forum title is already used as the display name for the sender email address, so having it in the subject is just a duplication and waste of space. --- .../core/src/Api/Controller/SendConfirmationEmailController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Api/Controller/SendConfirmationEmailController.php b/framework/core/src/Api/Controller/SendConfirmationEmailController.php index 0ed841589..d6d623241 100644 --- a/framework/core/src/Api/Controller/SendConfirmationEmailController.php +++ b/framework/core/src/Api/Controller/SendConfirmationEmailController.php @@ -88,7 +88,7 @@ class SendConfirmationEmailController implements RequestHandlerInterface $this->mailer->raw($body, function (Message $message) use ($actor, $data) { $message->to($actor->email); - $message->subject('['.$data['{forum}'].'] '.$this->translator->trans('core.email.activate_account.subject')); + $message->subject($this->translator->trans('core.email.activate_account.subject')); }); return new EmptyResponse;