diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/api/resource/SessionResource.java | 2 |
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(); |