aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/database/DeviceManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/DeviceManager.java b/src/main/java/org/traccar/database/DeviceManager.java
index 51f35b3db..fa95adeb2 100644
--- a/src/main/java/org/traccar/database/DeviceManager.java
+++ b/src/main/java/org/traccar/database/DeviceManager.java
@@ -118,7 +118,7 @@ public class DeviceManager extends BaseObjectManager<Device> implements Identity
@Override
public String getDevicePassword(long id, String protocol, String defaultPassword) {
- String password = lookupAttributeString(id, Command.KEY_DEVICE_PASSWORD, null, false);
+ String password = lookupAttributeString(id, Command.KEY_DEVICE_PASSWORD, null, false, false);
if (password != null) {
return password;
}