aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web/Session.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-11 09:59:07 +0000
committerMario <mario@mariovavti.com>2022-01-11 09:59:07 +0000
commitfc1d3831cfa65cf10330204b417ac89b724cfc51 (patch)
treed6eae328a0a4bbe5735f846327bf580ba2f1ace3 /Zotlabs/Web/Session.php
parent867deda24771848575bb7d9cb7e4bfc82e642e33 (diff)
downloadvolse-hubzilla-fc1d3831cfa65cf10330204b417ac89b724cfc51.tar.gz
volse-hubzilla-fc1d3831cfa65cf10330204b417ac89b724cfc51.tar.bz2
volse-hubzilla-fc1d3831cfa65cf10330204b417ac89b724cfc51.zip
revert commit 7e2aecd8
Diffstat (limited to 'Zotlabs/Web/Session.php')
-rw-r--r--Zotlabs/Web/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php
index 12823b067..443a02d20 100644
--- a/Zotlabs/Web/Session.php
+++ b/Zotlabs/Web/Session.php
@@ -78,7 +78,7 @@ class Session {
// have some nasty side effects if you have any other subdomains running hubzilla.
session_set_cookie_params([
- 'expires' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
+ 'lifetime' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
'path' => ((isset($arr['path'])) ? $arr['path'] : '/'),
'domain' => (($arr['domain']) ? $arr['domain'] : false),
'secure' => ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),