From fc1d3831cfa65cf10330204b417ac89b724cfc51 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 11 Jan 2022 09:59:07 +0000 Subject: revert commit 7e2aecd8 --- Zotlabs/Web/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Web/Session.php') 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), -- cgit v1.2.3