Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
b40499b4
Commit
b40499b4
authored
Jan 05, 2023
by
Mario
Browse files
revert accidental change in session
parent
47071c58
Pipeline
#562963
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Zotlabs/Web/Session.php
View file @
b40499b4
...
...
@@ -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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment