diff options
author | tsmgeek <tsmgeek@users.noreply.github.com> | 2017-08-14 22:38:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 22:38:59 +0100 |
commit | 5f0d1137eb8402060bd655c58addf6c2646b2bce (patch) | |
tree | 6ba915c270889985962eaa560018d7459abd0501 /src | |
parent | 3d1c64a4564a88239ec9837c1b0ac9367023fb64 (diff) | |
download | trackermap-server-5f0d1137eb8402060bd655c58addf6c2646b2bce.tar.gz trackermap-server-5f0d1137eb8402060bd655c58addf6c2646b2bce.tar.bz2 trackermap-server-5f0d1137eb8402060bd655c58addf6c2646b2bce.zip |
Trim email address
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/model/User.java | 2 |
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; |