fix(mqtt-bridge): username and password defaults to undefined

This commit is contained in:
Shawn 2022-08-30 10:14:56 +08:00
parent 6fde37791c
commit b5ad5233a1
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ fields("server_configs") ->
mk( mk(
binary(), binary(),
#{ #{
default => "emqx", default => undefined,
desc => ?DESC("username") desc => ?DESC("username")
} }
)}, )},
@ -109,7 +109,7 @@ fields("server_configs") ->
mk( mk(
binary(), binary(),
#{ #{
default => "emqx", default => undefined,
format => <<"password">>, format => <<"password">>,
desc => ?DESC("password") desc => ?DESC("password")
} }