diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-15 16:46:38 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 16:46:38 +1200 |
commit | 5606c72b19568ddf50e2fa35f35e05358bb671e4 (patch) | |
tree | 26661fc5e5959e0d4abd01959cdb4210c91cb60d /src/org/traccar/model/User.java | |
parent | 8012240ac5662d8b0a2ec7907ad3f04e86b17627 (diff) | |
parent | b2c8c6795f0e0c9265fa1c5db30ddd0bebfcc081 (diff) | |
download | traccar-server-5606c72b19568ddf50e2fa35f35e05358bb671e4.tar.gz traccar-server-5606c72b19568ddf50e2fa35f35e05358bb671e4.tar.bz2 traccar-server-5606c72b19568ddf50e2fa35f35e05358bb671e4.zip |
Merge pull request #3445 from tsmgeek/login_auth_trim
Trim email field on auth
Diffstat (limited to 'src/org/traccar/model/User.java')
-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; |