Add cookie configuration file (#3644)

Adds the cookie configuration file required by octobercms/library#335. Documented in octobercms/docs#3644.
This commit is contained in:
pikanji 2018-07-20 11:38:45 +09:00 committed by Luke Towers
parent 5936107c07
commit ab9dcaf09c
1 changed files with 21 additions and 0 deletions

21
config/cookie.php Normal file
View File

@ -0,0 +1,21 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Cookies that should not be encrypted
|--------------------------------------------------------------------------
|
| OctoberCMS encrypts/decrypts cookies by default. You can specify cookies
| that should not be encrypted or decrypted here. This is useful, for
| example, when you want to pass data from frontend to server side backend
| via cookies, and vice versa.
|
*/
'unencryptedCookies' => [
// 'my_cookie',
],
];