aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authortsmgeek <tsmgeek@users.noreply.github.com>2017-08-14 23:06:45 +0100
committerGitHub <noreply@github.com>2017-08-14 23:06:45 +0100
commitb2c8c6795f0e0c9265fa1c5db30ddd0bebfcc081 (patch)
tree99fad4ffb104801ce0f26f23407d4b7459e612c1 /src/org
parent5f0d1137eb8402060bd655c58addf6c2646b2bce (diff)
downloadtraccar-server-b2c8c6795f0e0c9265fa1c5db30ddd0bebfcc081.tar.gz
traccar-server-b2c8c6795f0e0c9265fa1c5db30ddd0bebfcc081.tar.bz2
traccar-server-b2c8c6795f0e0c9265fa1c5db30ddd0bebfcc081.zip
Update DataManager.java
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index d5b4dd617..2e3e68bc9 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -297,7 +297,7 @@ public class DataManager {
public User login(String email, String password) throws SQLException {
User user = QueryBuilder.create(dataSource, getQuery("database.loginUser"))
- .setString("email", email.trim().toLowerCase())
+ .setString("email", email.trim())
.executeQuerySingle(User.class);
if (user != null && user.isPasswordValid(password)) {
return user;