aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/SessionResource.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-23 09:17:07 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-23 09:17:07 +0500
commit685fd3826b64b14106aeace0a647e71a4cc4fe81 (patch)
tree0a66b3ce6ce21964c539c4627e04640738f04c2b /src/org/traccar/api/resource/SessionResource.java
parent2e2ec32b732f27df9c73f83a1982944cae45bf70 (diff)
parent5f867c6077f79a2a1d3b8ec18f78c3a2657ba698 (diff)
downloadtrackermap-server-685fd3826b64b14106aeace0a647e71a4cc4fe81.tar.gz
trackermap-server-685fd3826b64b14106aeace0a647e71a4cc4fe81.tar.bz2
trackermap-server-685fd3826b64b14106aeace0a647e71a4cc4fe81.zip
Merge remote-tracking branch 'upstream/master' into maintenanceevents
Diffstat (limited to 'src/org/traccar/api/resource/SessionResource.java')
-rw-r--r--src/org/traccar/api/resource/SessionResource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/SessionResource.java b/src/org/traccar/api/resource/SessionResource.java
index 996865c4b..5f1c597d1 100644
--- a/src/org/traccar/api/resource/SessionResource.java
+++ b/src/org/traccar/api/resource/SessionResource.java
@@ -80,7 +80,7 @@ public class SessionResource extends BaseResource {
}
if (userId != null) {
- Context.getPermissionsManager().checkUser(userId);
+ Context.getPermissionsManager().checkUserEnabled(userId);
return Context.getPermissionsManager().getUser(userId);
} else {
throw new WebApplicationException(Response.status(Response.Status.NOT_FOUND).build());