diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/database/LoginService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/LoginService.java b/src/main/java/org/traccar/database/LoginService.java index a30e443b5..6ed45202a 100644 --- a/src/main/java/org/traccar/database/LoginService.java +++ b/src/main/java/org/traccar/database/LoginService.java @@ -52,7 +52,7 @@ public class LoginService { public User login(String email, String password) throws StorageException { User user = storage.getObject(User.class, new Request( - new Columns.Include("id", "login", "hashedPassword", "salt"), + new Columns.All(), new Condition.Or( new Condition.Equals("email", "email", email.trim()), new Condition.Equals("login", "email")))); |