diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-18 18:43:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-18 18:43:33 +1300 |
commit | f35da3ffdf6f960a877149b72b819a1979c9395a (patch) | |
tree | 169a837eebb3cec8057463165d6aa2fa70d948f5 | |
parent | 2bd0cdf04b2849a510f178cafea17fffa5d34961 (diff) | |
download | trackermap-server-f35da3ffdf6f960a877149b72b819a1979c9395a.tar.gz trackermap-server-f35da3ffdf6f960a877149b72b819a1979c9395a.tar.bz2 trackermap-server-f35da3ffdf6f960a877149b72b819a1979c9395a.zip |
Check user in session resource
-rw-r--r-- | src/org/traccar/api/resource/SessionResource.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/api/resource/SessionResource.java b/src/org/traccar/api/resource/SessionResource.java index a459186fe..a61738c7e 100644 --- a/src/org/traccar/api/resource/SessionResource.java +++ b/src/org/traccar/api/resource/SessionResource.java @@ -73,6 +73,7 @@ public class SessionResource extends BaseResource { } if (userId != null) { + Context.getPermissionsManager().checkUser(userId); return Context.getPermissionsManager().getUser(userId); } else { throw new WebApplicationException(Response.status(Response.Status.NOT_FOUND).build()); |