aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-14 21:30:47 +1300
committerGitHub <noreply@github.com>2017-11-14 21:30:47 +1300
commite48863c91dd049315e5ad336e5950e911cac5495 (patch)
tree100686934cb7f44febb9ca5d21d71db5fd7383be /setup
parente6e762c1c9416cf52421d0b26dbd38f2b70e2c3f (diff)
parente0f16f7f797a3ce1bfae3be2625690ad4b048240 (diff)
downloadtraccar-server-e48863c91dd049315e5ad336e5950e911cac5495.tar.gz
traccar-server-e48863c91dd049315e5ad336e5950e911cac5495.tar.bz2
traccar-server-e48863c91dd049315e5ad336e5950e911cac5495.zip
Merge pull request #3638 from Abyss777/ldap_improve
Improve LDAP
Diffstat (limited to 'setup')
-rw-r--r--setup/default.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 1d6775731..3424e8187 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -35,7 +35,7 @@
<entry key='database.loginUser'>
SELECT * FROM users
- WHERE email = :email
+ WHERE email = :email OR login = :email
</entry>
<entry key='database.selectPositions'>