This commit is contained in:
Pig Fang 2020-02-26 10:40:20 +08:00
parent 57beeb2c86
commit 97cd8974f3
3 changed files with 2 additions and 3 deletions

View File

@ -34,7 +34,6 @@ MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

View File

@ -32,7 +32,7 @@ class EmailVerification extends Mailable
{
$site_name = option_localized('site_name');
return $this->from(config('mail.username'), $site_name)
return $this->from(config('mail.from'))
->subject(trans('user.verification.mail.title', ['sitename' => $site_name]))
->view('mails.email-verification');
}

View File

@ -35,7 +35,7 @@ class ForgotPassword extends Mailable
{
$site_name = option_localized('site_name');
return $this->from(config('mail.username'), $site_name)
return $this->from(config('mail.from'))
->subject(trans('auth.forgot.mail.title', ['sitename' => $site_name]))
->view('mails.password-reset');
}