aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/SessionResource.java
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-08-07 10:06:31 +0300
committerninioe <ninioe@gmail.com>2016-08-07 10:06:31 +0300
commite35bb104574105e94872fef42607f3ccd19f12b8 (patch)
treee3c08047ce4cebbaea621dd16d8fd58ad4a73426 /src/org/traccar/api/resource/SessionResource.java
parentc1c5a5fd34402a4e9b0840a7b960c38371dd9748 (diff)
downloadtrackermap-server-e35bb104574105e94872fef42607f3ccd19f12b8.tar.gz
trackermap-server-e35bb104574105e94872fef42607f3ccd19f12b8.tar.bz2
trackermap-server-e35bb104574105e94872fef42607f3ccd19f12b8.zip
Checkstyle error fix
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 5d41cdd71..ae2c919e9 100644
--- a/src/org/traccar/api/resource/SessionResource.java
+++ b/src/org/traccar/api/resource/SessionResource.java
@@ -63,7 +63,7 @@ public class SessionResource extends BaseResource {
}
}
}
- if (email != null && password != null){
+ if (email != null && password != null) {
User user = Context.getDataManager().login(email, password);
if (user != null) {
userId = user.getId();