aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-02-21 11:22:07 -0800
committerAnton Tananaev <anton@traccar.org>2022-02-21 11:22:36 -0800
commit23bbb48eaf69db1c858a7f027d9f7a2fba8796ea (patch)
tree6660f75f9a19af8454f628e707e5840720b7ccb8 /src/main/java/org
parent638e611d993e6016a1af544f9c86b3052da33e70 (diff)
downloadtrackermap-server-23bbb48eaf69db1c858a7f027d9f7a2fba8796ea.tar.gz
trackermap-server-23bbb48eaf69db1c858a7f027d9f7a2fba8796ea.tar.bz2
trackermap-server-23bbb48eaf69db1c858a7f027d9f7a2fba8796ea.zip
Fix user creation
Diffstat (limited to 'src/main/java/org')
-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);