Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
a8078539
Commit
a8078539
authored
May 05, 2020
by
Benjamin Rousselière
Browse files
feat/13799 : add 'httpOnly' attribute to CSRF cookie
parent
8d312fa3
Pipeline
#8116
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Observer/csrf.php
View file @
a8078539
...
...
@@ -128,7 +128,7 @@ class csrf
$responseToken
=
$this
->
getLastToken
(
$accountTokens
);
\
laabs
::
setToken
(
$this
->
config
[
"cookieName"
],
$responseToken
,
null
,
fals
e
);
\
laabs
::
setToken
(
$this
->
config
[
"cookieName"
],
$responseToken
,
null
,
tru
e
);
}
/**
...
...
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