diff options
-rw-r--r-- | src/org/traccar/web/server/model/DataServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java index 2a148e25..2d678b09 100644 --- a/src/org/traccar/web/server/model/DataServiceImpl.java +++ b/src/org/traccar/web/server/model/DataServiceImpl.java @@ -208,6 +208,7 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService currentUser.setLogin(user.getLogin()); currentUser.setPassword(user.getPassword()); currentUser.setUserSettings(user.getUserSettings()); + currentUser.setAdmin(user.getAdmin()); entityManager.merge(currentUser); user = currentUser; } else { |