aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model/User.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-18 16:52:31 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-18 16:52:31 -0700
commit8bc3c8c7d2c762ec00bfb1960dcd02171b7312a6 (patch)
tree5f26a6e5f252803ccde9eaffe42b7d5a19990db2 /src/main/java/org/traccar/model/User.java
parentcf2583cec5f6b9c92730bdcdc5805944ff0bfa59 (diff)
downloadtrackermap-server-8bc3c8c7d2c762ec00bfb1960dcd02171b7312a6.tar.gz
trackermap-server-8bc3c8c7d2c762ec00bfb1960dcd02171b7312a6.tar.bz2
trackermap-server-8bc3c8c7d2c762ec00bfb1960dcd02171b7312a6.zip
Disable email change (fix #3878)
Diffstat (limited to 'src/main/java/org/traccar/model/User.java')
-rw-r--r--src/main/java/org/traccar/model/User.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/model/User.java b/src/main/java/org/traccar/model/User.java
index 9dd84ad14..0aa67168f 100644
--- a/src/main/java/org/traccar/model/User.java
+++ b/src/main/java/org/traccar/model/User.java
@@ -232,8 +232,6 @@ public class User extends ExtendedModel implements UserRestrictions {
this.limitCommands = limitCommands;
}
- private String poiLayer;
-
private boolean disableReports;
@Override
@@ -245,6 +243,19 @@ public class User extends ExtendedModel implements UserRestrictions {
this.disableReports = disableReports;
}
+ private boolean fixedEmail;
+
+ @Override
+ public boolean getFixedEmail() {
+ return fixedEmail;
+ }
+
+ public void setFixedEmail(boolean fixedEmail) {
+ this.fixedEmail = fixedEmail;
+ }
+
+ private String poiLayer;
+
public String getPoiLayer() {
return poiLayer;
}