diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-30 10:54:14 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-30 10:54:14 -0800 |
commit | b7677cbcc610c775ba57fa82486e88f42a30d5bd (patch) | |
tree | 6546ba6801d219bab6639c292b5bed07d7bd24f8 /src/main/java/org/traccar/database | |
parent | fa3d072b47be36ba011d6f48a1e3fe39bb5f2f6d (diff) | |
download | trackermap-server-b7677cbcc610c775ba57fa82486e88f42a30d5bd.tar.gz trackermap-server-b7677cbcc610c775ba57fa82486e88f42a30d5bd.tar.bz2 trackermap-server-b7677cbcc610c775ba57fa82486e88f42a30d5bd.zip |
Migrate string keys
Diffstat (limited to 'src/main/java/org/traccar/database')
-rw-r--r-- | src/main/java/org/traccar/database/DeviceManager.java | 2 |
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 8db694d73..c8a99274c 100644 --- a/src/main/java/org/traccar/database/DeviceManager.java +++ b/src/main/java/org/traccar/database/DeviceManager.java @@ -135,7 +135,7 @@ public class DeviceManager extends BaseObjectManager<Device> implements Identity } if (protocol != null) { - password = Context.getConfig().getString(protocol + "." + Command.KEY_DEVICE_PASSWORD); + password = Context.getConfig().getString(Keys.PROTOCOL_DEVICE_PASSWORD.withPrefix(protocol)); if (password != null) { return password; } |