summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-05 18:07:17 +0100
committerAndrey Andreev <narf@devilix.net>2022-01-05 18:07:17 +0100
commit83bb3859ecce8e21ba8322382f60b10fab34fc28 (patch)
tree0be3382b24a5609ca3d801df1ef50354e31afe4e /application/config/config.php
parentc382445b71682cfa4ee9048a5b775d07102d0ef8 (diff)
parent1a2651040ef701e750b1c13cd69cc70814b079d0 (diff)
Merge branch '3.1-stable' into develop
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 596f8fefe..d66d4fce4 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -329,6 +329,10 @@ $config['encryption_key'] = '';
|
| The session cookie name, must contain only [0-9a-z_-] characters
|
+| 'sess_samesite'
+|
+| Session cookie SameSite attribute: Lax (default), Strict or None
+|
| 'sess_expiration'
|
| The number of SECONDS you want the session to last.
@@ -369,6 +373,7 @@ $config['encryption_key'] = '';
*/
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
+$config['sess_samesite'] = 'Lax';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;