aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-25 14:19:23 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-25 14:19:23 -0800
commita59a6d19f575d8b593085ce19458c8fff18a6360 (patch)
tree8610e2db4421ead592a40b6762aeba4aca66e034 /src/main/java/org/traccar/model
parent25c5e09b02ae9e498562f3fe9a80bd6d7463a11b (diff)
downloadtrackermap-server-a59a6d19f575d8b593085ce19458c8fff18a6360.tar.gz
trackermap-server-a59a6d19f575d8b593085ce19458c8fff18a6360.tar.bz2
trackermap-server-a59a6d19f575d8b593085ce19458c8fff18a6360.zip
Add device sharing (fix #3789, fix #4936, fix #5025)
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r--src/main/java/org/traccar/model/User.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/User.java b/src/main/java/org/traccar/model/User.java
index 757064ba2..8cfee0f48 100644
--- a/src/main/java/org/traccar/model/User.java
+++ b/src/main/java/org/traccar/model/User.java
@@ -261,6 +261,16 @@ public class User extends ExtendedModel implements UserRestrictions, Disableable
this.totpKey = totpKey;
}
+ private boolean temporary;
+
+ public boolean getTemporary() {
+ return temporary;
+ }
+
+ public void setTemporary(boolean temporary) {
+ this.temporary = temporary;
+ }
+
@QueryIgnore
public String getPassword() {
return null;