aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-05 18:25:45 +0100
committerMario <mario@mariovavti.com>2023-01-05 18:25:45 +0100
commit4c434129a69f9ece43dafcf5e0d2c824c49cb51b (patch)
tree3a139ad44222c0154fa905082c8f0f8a7c10c756
parent66333aedb75778fa2ff2419b79928d22d9790d36 (diff)
parentb40499b4c13c3ebfe99181362c1888cc78ccff3a (diff)
downloadvolse-hubzilla-4c434129a69f9ece43dafcf5e0d2c824c49cb51b.tar.gz
volse-hubzilla-4c434129a69f9ece43dafcf5e0d2c824c49cb51b.tar.bz2
volse-hubzilla-4c434129a69f9ece43dafcf5e0d2c824c49cb51b.zip
Merge branch 'dev' into 8.0RC
-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'
]);