From 7e2aecd8bb279bccc09edb6e107d1bb834971aa1 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 10 Jan 2022 11:37:47 +0000 Subject: lifetime->expires --- Zotlabs/Web/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Web') diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php index 443a02d20..12823b067 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([ - 'lifetime' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0), + 'expires' => ((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