Skip to content

Commit

Permalink
change MAILER_FROM_EMAIL default to MAILER_USERNAME value
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt authored Jun 13, 2024
1 parent 13fc97b commit c517415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/protected/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
$mysqlUser = Env::get('MYSQL_USER');
$mysqlPassword = Env::get('MYSQL_PASSWORD');
$mailerHostname = Env::get('MAILER_HOSTNAME', 'smtp.gmail.com');
$mailerFromEmail = Env::get('MAILER_FROM_EMAIL', '[email protected]');
$mailerUsername = Env::get('MAILER_USERNAME', false); // Defaults to false to mimic previous getenv() behavior.
$mailerPassword = Env::get('MAILER_PASSWORD', false); // Defaults to false to mimic previous getenv() behavior.
$mailerFromEmail = Env::get('MAILER_FROM_EMAIL', $mailerUsername);
$appEnv = Env::get('APPLICATION_ENV', 'not set');

// APP_NAME is deprecated. Prefer APP_DISPLAY_NAME.
Expand Down

0 comments on commit c517415

Please sign in to comment.