aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-10 22:30:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-10 22:30:32 +1200
commit77f5a12b9c50cdf317528a8e1569c3cf47b251f4 (patch)
tree2c467d91303d3b6336f396cadb8f1c54bd41dd9c /src/org
parentd09592af88af09cfc6efc598b4f92184aec4bf00 (diff)
downloadtrackermap-server-77f5a12b9c50cdf317528a8e1569c3cf47b251f4.tar.gz
trackermap-server-77f5a12b9c50cdf317528a8e1569c3cf47b251f4.tar.bz2
trackermap-server-77f5a12b9c50cdf317528a8e1569c3cf47b251f4.zip
Change password config key
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/AquilaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AquilaProtocolDecoder.java b/src/org/traccar/protocol/AquilaProtocolDecoder.java
index 9963ead34..3821e13ca 100644
--- a/src/org/traccar/protocol/AquilaProtocolDecoder.java
+++ b/src/org/traccar/protocol/AquilaProtocolDecoder.java
@@ -301,7 +301,7 @@ public class AquilaProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_ALARM, Position.ALARM_SOS);
if (channel != null) {
String password = Context.getIdentityManager().lookupAttributeString(
- position.getDeviceId(), getProtocolName() + ".language", "aquila123", true);
+ position.getDeviceId(), getProtocolName() + ".password", "aquila123", true);
channel.write("#set$" + id + "@" + password + "#EMR_MODE:0*");
}
}