mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-23 13:23:05 +08:00
Fix wrong password handling (string -> byte[])
This commit is contained in:
@@ -208,7 +208,7 @@ namespace MQTTnet.Formatter.V5
|
||||
|
||||
if (passwordFlag)
|
||||
{
|
||||
packet.Password = body.ReadStringWithLengthPrefix();
|
||||
packet.Password = body.ReadWithLengthPrefix();
|
||||
}
|
||||
|
||||
return packet;
|
||||
|
||||
Reference in New Issue
Block a user