Commit 4310e0b3 authored by Martin Bean's avatar Martin Bean

Made mail config values configurable by .env file.

parent e3630a53
......@@ -8,4 +8,5 @@ DB_USERNAME=homestead
DB_PASSWORD=secret
CACHE_DRIVER=file
MAIL_DRIVER=smtp
SESSION_DRIVER=file
......@@ -15,7 +15,7 @@ return [
|
*/
'driver' => 'smtp',
'driver' => env('MAIL_DRIVER', 'smtp'),
/*
|--------------------------------------------------------------------------
......@@ -28,7 +28,7 @@ return [
|
*/
'host' => 'smtp.mailgun.org',
'host' => env('SMTP_HOST', 'smtp.mailgun.org'),
/*
|--------------------------------------------------------------------------
......@@ -41,7 +41,7 @@ return [
|
*/
'port' => 587,
'port' => env('SMTP_PORT', 587),
/*
|--------------------------------------------------------------------------
......@@ -80,7 +80,7 @@ return [
|
*/
'username' => null,
'username' => env('SMTP_USERNAME'),
/*
|--------------------------------------------------------------------------
......@@ -93,7 +93,7 @@ return [
|
*/
'password' => null,
'password' => env('SMTP_PASSWORD'),
/*
|--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment