diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-05 15:52:45 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-05 15:52:45 -0700 |
commit | 03bd0f0d0945a80f5af19d06d37ff31a52d294ed (patch) | |
tree | 0412bafe5f785c2bba32730d0a8d7488558fd70d /src/main/java/org/traccar/config | |
parent | 0fbfe5160af67440c495ee1589b435a82e136e10 (diff) | |
download | traccar-server-03bd0f0d0945a80f5af19d06d37ff31a52d294ed.tar.gz traccar-server-03bd0f0d0945a80f5af19d06d37ff31a52d294ed.tar.bz2 traccar-server-03bd0f0d0945a80f5af19d06d37ff31a52d294ed.zip |
Update SameSite configuration
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index fd126a5c4..cd80e68c4 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 Anton Tananaev (anton@traccar.org) + * Copyright 2019 - 2020 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -430,11 +430,11 @@ public final class Keys { "web.disableHealthCheck", Boolean.class); /** - * Fixes Chrome SameSite Cookie problem, only works on https - * More info here https://wiki.shibboleth.net/confluence/display/DEV/Tomcat+and+Jetty+SameSite+Workarounds + * Sets SameSite cookie attribute value. + * Supported options: Lax, Strict, None. */ - public static final ConfigKey WEB_SAME_SITE_COOKIE_NONE = new ConfigKey( - "web.sameSiteCookie.enable", Boolean.class); + public static final ConfigKey WEB_SAME_SITE_COOKIE = new ConfigKey( + "web.sameSiteCookie", String.class); private Keys() { } |