docs: fix typo in code comment

Co-authored-by: Ilya Averyanov <av@rubybox.ru>
This commit is contained in:
Zaiming (Stone) Shi 2022-07-06 13:33:52 +02:00 committed by GitHub
parent 998f79070d
commit 820d981b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ default_auth_result(Username, Zone) ->
IsAnonymous = (Username =:= undefined orelse Username =:= <<>>), IsAnonymous = (Username =:= undefined orelse Username =:= <<>>),
AllowAnonymous = emqx_zone:get_env(Zone, allow_anonymous, false), AllowAnonymous = emqx_zone:get_env(Zone, allow_anonymous, false),
Bypass = emqx_zone:get_env(Zone, bypass_auth_plugins, 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 %% connected without username, but if the auth result is based on
%% allowing anonymous access. %% allowing anonymous access.
IsResultBasedOnAllowAnonymous = IsResultBasedOnAllowAnonymous =