diff options
author | Anton Tananaev <anton@traccar.org> | 2023-11-25 14:19:23 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-11-25 14:19:23 -0800 |
commit | a59a6d19f575d8b593085ce19458c8fff18a6360 (patch) | |
tree | 8610e2db4421ead592a40b6762aeba4aca66e034 /src/main/java/org/traccar/model | |
parent | 25c5e09b02ae9e498562f3fe9a80bd6d7463a11b (diff) | |
download | trackermap-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.java | 10 |
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; |