From 2ed7f1c9121c8288bd877346230585b241e6b189 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Tue, 17 Jan 2023 23:01:53 +0100 Subject: [PATCH] Fix `MAIL_FROM_ADDRESS` in EmailSettingsCommand (#4648) --- app/Console/Commands/Environment/EmailSettingsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Environment/EmailSettingsCommand.php b/app/Console/Commands/Environment/EmailSettingsCommand.php index cffb03a6b..d5efbc90a 100644 --- a/app/Console/Commands/Environment/EmailSettingsCommand.php +++ b/app/Console/Commands/Environment/EmailSettingsCommand.php @@ -57,7 +57,7 @@ class EmailSettingsCommand extends Command $this->{$method}(); } - $this->variables['MAIL_FROM'] = $this->option('email') ?? $this->ask( + $this->variables['MAIL_FROM_ADDRESS'] = $this->option('email') ?? $this->ask( trans('command/messages.environment.mail.ask_mail_from'), $this->config->get('mail.from.address') );