From 820d981b4dbea9eebc46f4476b17ec8908ca147d Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 6 Jul 2022 13:33:52 +0200 Subject: [PATCH] docs: fix typo in code comment Co-authored-by: Ilya Averyanov --- src/emqx_access_control.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqx_access_control.erl b/src/emqx_access_control.erl index 4675c7f81..929d3dc8a 100644 --- a/src/emqx_access_control.erl +++ b/src/emqx_access_control.erl @@ -93,7 +93,7 @@ default_auth_result(Username, Zone) -> IsAnonymous = (Username =:= undefined orelse Username =:= <<>>), AllowAnonymous = emqx_zone:get_env(Zone, allow_anonymous, false), Bypass = emqx_zone:get_env(Zone, bypass_auth_plugins, false), - %% the `anonymous` filed in auth result does not mean the client is + %% the `anonymous` field in auth result does not mean the client is %% connected without username, but if the auth result is based on %% allowing anonymous access. IsResultBasedOnAllowAnonymous =