diff options
author | William Desportes <williamdes@wdes.fr> | 2021-07-22 15:57:36 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2021-07-22 15:57:54 +0300 |
commit | 5b8cd0fc6320429cea49e6c61f22e0b511167a47 (patch) | |
tree | 65e9008616c098503aa0e2aa373b2ee2becb10d8 /libraries/classes/Session.php | |
parent | 7e567be51502ce9b20a14ac34a84681bfe6f93a5 (diff) | |
parent | be64a4f58d6e871481d84a8f4681920b897527e9 (diff) |
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'libraries/classes/Session.php')
-rw-r--r-- | libraries/classes/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/classes/Session.php b/libraries/classes/Session.php index 5644edae31..cfc49fd148 100644 --- a/libraries/classes/Session.php +++ b/libraries/classes/Session.php @@ -183,7 +183,7 @@ class Session ini_set('session.cookie_httponly', '1'); if (PHP_VERSION_ID >= 70300) { // add SameSite to the session cookie - ini_set('session.cookie_samesite', $config->get('CookieSameSite')); + ini_set('session.cookie_samesite', $config->get('CookieSameSite') ?? ''); } // do not force transparent session ids |