diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-20 03:38:54 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-20 03:38:54 +1300 |
commit | 0601225489057f9b2310226c59119186464a6b06 (patch) | |
tree | 236148ffcd75a614921a180edc6ae7766bc436c5 | |
parent | 1937a36997710f117bc742e0e2d9bcab8d9f2d5b (diff) | |
download | trackermap-server-0601225489057f9b2310226c59119186464a6b06.tar.gz trackermap-server-0601225489057f9b2310226c59119186464a6b06.tar.bz2 trackermap-server-0601225489057f9b2310226c59119186464a6b06.zip |
Don't cache user password (fix #2455)
-rw-r--r-- | src/org/traccar/model/User.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index 59951718e..860c91629 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -140,14 +140,11 @@ public class User extends Extensible { this.coordinateFormat = coordinateFormat; } - private String password; - public String getPassword() { - return password; + return null; } public void setPassword(String password) { - this.password = password; if (password != null && !password.isEmpty()) { Hashing.HashingResult hashingResult = Hashing.createHash(password); hashedPassword = hashingResult.getHash(); |