aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-02-21 11:22:07 -0800
committergrmt <garmt.noname@gmail.com>2022-02-21 22:03:54 +0100
commit91c465faf6480d7aaf65073e70a42e4173d70eae (patch)
tree6660f75f9a19af8454f628e707e5840720b7ccb8 /src/main/java/org/traccar
parent7758221ed338ad145fc1861bf596546c34f74bc2 (diff)
downloadtrackermap-server-91c465faf6480d7aaf65073e70a42e4173d70eae.tar.gz
trackermap-server-91c465faf6480d7aaf65073e70a42e4173d70eae.tar.bz2
trackermap-server-91c465faf6480d7aaf65073e70a42e4173d70eae.zip
Fix user creation
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/model/User.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/User.java b/src/main/java/org/traccar/model/User.java
index 94828ab95..792f2b669 100644
--- a/src/main/java/org/traccar/model/User.java
+++ b/src/main/java/org/traccar/model/User.java
@@ -249,6 +249,7 @@ public class User extends ExtendedModel {
return null;
}
+ @QueryIgnore
public void setPassword(String password) {
if (password != null && !password.isEmpty()) {
Hashing.HashingResult hashingResult = Hashing.createHash(password);