aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/User.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index b71666f87..3557521ab 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -43,7 +43,7 @@ public class User extends ExtendedModel {
}
public void setEmail(String email) {
- this.email = email;
+ this.email = email.trim();
}
private String phone;