aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/api/security
diff options
context:
space:
mode:
authorDan <djr2468@gmail.com>2023-04-03 17:53:15 +0100
committerDan <djr2468@gmail.com>2023-04-03 17:53:15 +0100
commit9de791026d5aaf5b5997ed7fab4d30c6cb1fb057 (patch)
treec580724401a538dca36977362e4f5c5d9afaf58b /src/main/java/org/traccar/api/security
parentc6de74b4bb0f116b0fcbbb65b20296970597b652 (diff)
downloadtrackermap-server-9de791026d5aaf5b5997ed7fab4d30c6cb1fb057.tar.gz
trackermap-server-9de791026d5aaf5b5997ed7fab4d30c6cb1fb057.tar.bz2
trackermap-server-9de791026d5aaf5b5997ed7fab4d30c6cb1fb057.zip
Lint fixes
Diffstat (limited to 'src/main/java/org/traccar/api/security')
-rw-r--r--src/main/java/org/traccar/api/security/LoginService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/api/security/LoginService.java b/src/main/java/org/traccar/api/security/LoginService.java
index d92f7ce15..c7482a2e3 100644
--- a/src/main/java/org/traccar/api/security/LoginService.java
+++ b/src/main/java/org/traccar/api/security/LoginService.java
@@ -107,7 +107,7 @@ public class LoginService {
user.setEmail(email);
user.setFixedEmail(true);
user.setAdministrator(administrator);
- user.setId(storage.addObject(user, new Request(new Columns.Exclude("id"))));
+ user.setId(storage.addObject(user, new Request(new Columns.Exclude("id"))));
checkUserEnabled(user);
return user;
}