mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 21:20:02 +08:00
parent
50dcfdb2a6
commit
a4a81c0ec2
|
@ -110,7 +110,7 @@ class RequestPasswordResetHandler
|
|||
];
|
||||
|
||||
$body = $this->translator->trans('core.email.reset_password.body', $data);
|
||||
$subject = '['.$data['forum'].'] '.$this->translator->trans('core.email.reset_password.subject');
|
||||
$subject = $this->translator->trans('core.email.reset_password.subject');
|
||||
|
||||
$this->queue->push(new SendRawEmailJob($user->email, $subject, $body));
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ class EmailConfirmationMailer
|
|||
$data = $this->getEmailData($event->user, $email);
|
||||
|
||||
$body = $this->translator->trans('core.email.confirm_email.body', $data);
|
||||
$subject = '['.$data['forum'].'] '.$this->translator->trans('core.email.confirm_email.subject');
|
||||
$subject = $this->translator->trans('core.email.confirm_email.subject');
|
||||
|
||||
$this->queue->push(new SendRawEmailJob($email, $subject, $body));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user