Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
490f684c
Commit
490f684c
authored
Mar 05, 2020
by
FORESTIER Fabien
Browse files
Add scrict option on 'COOKIES_ACCEPTED' cookie
parent
e5cac4d0
Pipeline
#4193
passed with stage
in 3 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/core/components/cookie-banner/cookie-banner.component.ts
View file @
490f684c
...
...
@@ -22,6 +22,9 @@ export class CookieBannerComponent implements OnInit {
'
true
'
,
// Value
new
Date
(
new
Date
().
setFullYear
(
new
Date
().
getFullYear
()
+
1
)),
// Expiration date now + 1 year
'
/
'
,
document
.
location
.
hostname
,
false
,
'
Strict
'
,
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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