Set the cookie name using APP_NAME instead of a separate variable

This commit is contained in:
Kevin MacMartin 2017-09-26 12:01:10 -04:00
parent 87c3478c74
commit fa2595b531
2 changed files with 4 additions and 3 deletions

View file

@ -37,8 +37,6 @@ MAIL_ENCRYPTION=tls
MAIL_SENDFROM=null MAIL_SENDFROM=null
MAIL_SENDTO=null MAIL_SENDTO=null
COOKIE_NAME=hypothetical
MAILCHIMP_APIKEY= MAILCHIMP_APIKEY=
MAILCHIMP_LISTID= MAILCHIMP_LISTID=

View file

@ -122,7 +122,10 @@ return [
| |
*/ */
'cookie' => env('COOKIE_NAME', 'hypothetical'), 'cookie' => env(
'SESSION_COOKIE',
str_slug(env('APP_NAME', 'hypothetical'), '_').'_session'
),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------