aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/LdapProvider.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-27 17:06:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-27 17:06:27 +1200
commit4aea55186a2374350f825cf2008847ce4c5ae87c (patch)
treef688bfea239bfc3985389f1ccffc2d0f1e32275f /src/org/traccar/database/LdapProvider.java
parent2738665b298f3b8de33f96c893ae40ac5d6d25d0 (diff)
downloadtrackermap-server-4aea55186a2374350f825cf2008847ce4c5ae87c.tar.gz
trackermap-server-4aea55186a2374350f825cf2008847ce4c5ae87c.tar.bz2
trackermap-server-4aea55186a2374350f825cf2008847ce4c5ae87c.zip
Rename admin to administrator (fix #3858)
Diffstat (limited to 'src/org/traccar/database/LdapProvider.java')
-rw-r--r--src/org/traccar/database/LdapProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/LdapProvider.java b/src/org/traccar/database/LdapProvider.java
index 44dd386ed..eb975ad0f 100644
--- a/src/org/traccar/database/LdapProvider.java
+++ b/src/org/traccar/database/LdapProvider.java
@@ -150,7 +150,7 @@ public class LdapProvider {
user.setEmail(accountName);
}
}
- user.setAdmin(isAdmin(accountName));
+ user.setAdministrator(isAdmin(accountName));
} catch (NamingException e) {
user.setLogin(accountName);
user.setName(accountName);