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:
parent
5936107c07
commit
ab9dcaf09c
|
|
@ -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',
|
||||
],
|
||||
|
||||
];
|
||||
Loading…
Reference in New Issue