aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/BaseServlet.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 11:48:40 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 11:48:40 +1300
commita0a96b253b90d389a5c06ba1133b2a2f32ecb0fc (patch)
treea6152b09c89027f1932c4f28c1c8aaf1a6055065 /src/org/traccar/web/BaseServlet.java
parent831a7b81004c0456c317ef4c521cbebd4cbf5fc2 (diff)
downloadtrackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.tar.gz
trackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.tar.bz2
trackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.zip
Share session between two API versions
Diffstat (limited to 'src/org/traccar/web/BaseServlet.java')
-rw-r--r--src/org/traccar/web/BaseServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/BaseServlet.java b/src/org/traccar/web/BaseServlet.java
index d215c62d0..69a073d39 100644
--- a/src/org/traccar/web/BaseServlet.java
+++ b/src/org/traccar/web/BaseServlet.java
@@ -36,7 +36,7 @@ import org.traccar.Context;
public abstract class BaseServlet extends HttpServlet {
- public static final String USER_ID_KEY = "user";
+ public static final String USER_ID_KEY = "userId";
public static final String ALLOW_ORIGIN_VALUE = "*";
public static final String ALLOW_HEADERS_VALUE = "Origin, X-Requested-With, Content-Type, Accept";
public static final String ALLOW_METHODS_VALUE = "GET, POST, PUT, DELETE";