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
Jens
ISPConfig 3
Commits
36cdb858
Commit
36cdb858
authored
Jun 08, 2021
by
Marius Burkard
Browse files
Merge branch '6179-improve-session-security' into 'develop'
Resolve "Improve session security" Closes
#6179
See merge request
!1488
parents
3ecd395b
cabf6039
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/app.inc.php
View file @
36cdb858
...
...
@@ -126,6 +126,9 @@ class app {
array
(
$this
->
session
,
'destroy'
),
array
(
$this
->
session
,
'gc'
));
ini_set
(
'session.cookie_httponly'
,
true
);
@
ini_set
(
'session.cookie_samesite'
,
'Lax'
);
session_start
();
//* Initialize session variables
...
...
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