aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config/Keys.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index fb32857d8..fd126a5c4 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -429,6 +429,13 @@ public final class Keys {
public static final ConfigKey WEB_DISABLE_HEALTH_CHECK = new ConfigKey(
"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
+ */
+ public static final ConfigKey WEB_SAME_SITE_COOKIE_NONE = new ConfigKey(
+ "web.sameSiteCookie.enable", Boolean.class);
+
private Keys() {
}