aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-01 16:28:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-01 16:28:14 +1300
commitf748f065a01fa984a41ca679ca05bcff97769b25 (patch)
tree88f75bea9ff0143e100002e8788d850783db8499 /src/org/traccar/model
parent1742c5a6e9e5cf6d6f2d22278fa5d6600e4b7988 (diff)
downloadtrackermap-server-f748f065a01fa984a41ca679ca05bcff97769b25.tar.gz
trackermap-server-f748f065a01fa984a41ca679ca05bcff97769b25.tar.bz2
trackermap-server-f748f065a01fa984a41ca679ca05bcff97769b25.zip
Add session resource for authentication
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/User.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index 8ac9e9d32..31e54752a 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -162,6 +162,7 @@ public class User implements Factory {
private String hashedPassword;
+ @com.fasterxml.jackson.annotation.JsonIgnore
@JsonIgnore
public String getHashedPassword() {
return hashedPassword;
@@ -173,6 +174,7 @@ public class User implements Factory {
private String salt;
+ @com.fasterxml.jackson.annotation.JsonIgnore
@JsonIgnore
public String getSalt() {
return salt;