aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-05 18:25:08 +0100
committerMario <mario@mariovavti.com>2023-01-05 18:25:08 +0100
commitb40499b4c13c3ebfe99181362c1888cc78ccff3a (patch)
treebc95d5ef15c30a3f5a1f811b181a1b8f5a78a689 /Zotlabs
parent47071c58aa868ee9756a98c967b64c024d22920b (diff)
downloadvolse-hubzilla-b40499b4c13c3ebfe99181362c1888cc78ccff3a.tar.gz
volse-hubzilla-b40499b4c13c3ebfe99181362c1888cc78ccff3a.tar.bz2
volse-hubzilla-b40499b4c13c3ebfe99181362c1888cc78ccff3a.zip
revert accidental change in session
Diffstat (limited to 'Zotlabs')
-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 1b5537ba0..14c054d20 100644
--- a/Zotlabs/Web/Session.php
+++ b/Zotlabs/Web/Session.php
@@ -81,7 +81,7 @@ class Session {
'lifetime' => ((isset($arr['lifetime'])) ? $arr['lifetime'] : 0),
'path' => ((isset($arr['path'])) ? $arr['path'] : '/'),
'domain' => (($arr['domain']) ? $arr['domain'] : false),
- 'secure' => true, //((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),
+ 'secure' => ((isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? true : false),
'httponly' => ((isset($arr['httponly'])) ? $arr['httponly'] : true),
'samesite' => 'None'
]);