mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 09:43:05 +08:00
Fix wrong password handling (string -> byte[])
This commit is contained in:
@@ -62,7 +62,7 @@ namespace MQTTnet.TestApp.NetCore
|
||||
|
||||
public class RandomPassword : IMqttClientCredentials
|
||||
{
|
||||
public string Password => Guid.NewGuid().ToString();
|
||||
public byte[] Password => Guid.NewGuid().ToByteArray();
|
||||
|
||||
public string Username => "the_static_user";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user