diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-07-18 18:50:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 18:50:05 -0700 |
commit | 20273b677b67f6a92c27eeb14acef3fedfd4d064 (patch) | |
tree | 4f1bb13fec7fa00e419415829ac7096f442ae991 /src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java | |
parent | 509d26db7efafe965f5cc6e1a1fba6b30e9556cf (diff) | |
parent | 9cdd5f45605ee6b0322301885641587e260174c5 (diff) | |
download | trackermap-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.tar.gz trackermap-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.tar.bz2 trackermap-server-20273b677b67f6a92c27eeb14acef3fedfd4d064.zip |
Merge pull request #4355 from edvalley/proposed
Make device password a group configurable attribute
Diffstat (limited to 'src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java b/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java index 2185b707e..06a379862 100644 --- a/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java @@ -254,7 +254,7 @@ public class LaipacProtocolDecoder extends BaseProtocolDecoder { sendAcknowledge(status, event, checksum, channel, remoteAddress); String devicePassword = Context.getIdentityManager() - .getDevicePassword(deviceSession.getDeviceId(), DEFAULT_DEVICE_PASSWORD); + .getDevicePassword(deviceSession.getDeviceId(), getProtocolName(), DEFAULT_DEVICE_PASSWORD); sendEventResponse(event, devicePassword, channel, remoteAddress); } |