From d047f820e56d2a1873f1224411408ad427b10e88 Mon Sep 17 00:00:00 2001 From: Shawn <506895667@qq.com> Date: Sat, 17 Jul 2021 13:19:45 +0800 Subject: [PATCH] fix(test): update testcases for emqx_gateway --- apps/emqx_gateway/src/emqx_gateway_ctx.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/emqx_gateway/src/emqx_gateway_ctx.erl b/apps/emqx_gateway/src/emqx_gateway_ctx.erl index f43620996..3af6fde20 100644 --- a/apps/emqx_gateway/src/emqx_gateway_ctx.erl +++ b/apps/emqx_gateway/src/emqx_gateway_ctx.erl @@ -68,7 +68,8 @@ | {error, any()}. authenticate(_Ctx = #{auth := ChainId}, ClientInfo0) -> ClientInfo = ClientInfo0#{ - zone => undefined, + zone => default, + listener => mqtt_tcp, chain_id => ChainId }, case emqx_access_control:authenticate(ClientInfo) of