mirror of
https://github.com/flarum/core.git
synced 2025-05-06 15:35:38 +02:00
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.
This commit is contained in:
parent
8dd3bd420b
commit
499f33fbb6
@ -88,7 +88,7 @@ class SendConfirmationEmailController implements RequestHandlerInterface
|
|||||||
|
|
||||||
$this->mailer->raw($body, function (Message $message) use ($actor, $data) {
|
$this->mailer->raw($body, function (Message $message) use ($actor, $data) {
|
||||||
$message->to($actor->email);
|
$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;
|
return new EmptyResponse;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user