From 07e3e43a21a36a170887ca66bed942f2a768eb24 Mon Sep 17 00:00:00 2001 From: Shawn <506895667@qq.com> Date: Sun, 21 Nov 2021 00:33:39 +0800 Subject: [PATCH] fix(authn): xref issues --- apps/emqx/src/emqx_authentication.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/emqx/src/emqx_authentication.erl b/apps/emqx/src/emqx_authentication.erl index 9728e7a23..9a1fda746 100644 --- a/apps/emqx/src/emqx_authentication.erl +++ b/apps/emqx/src/emqx_authentication.erl @@ -238,11 +238,11 @@ get_enabled(Authenticators) -> %% APIs %%------------------------------------------------------------------------------ -pre_config_update(_, UpdateReq, OldConfig) -> - emqx_authentication_config:pre_config_update(UpdateReq, OldConfig). +pre_config_update(Path, UpdateReq, OldConfig) -> + emqx_authentication_config:pre_config_update(Path, UpdateReq, OldConfig). -post_config_update(_, UpdateReq, NewConfig, OldConfig, AppEnvs) -> - emqx_authentication_config:post_config_update(UpdateReq, NewConfig, OldConfig, AppEnvs). +post_config_update(Path, UpdateReq, NewConfig, OldConfig, AppEnvs) -> + emqx_authentication_config:post_config_update(Path, UpdateReq, NewConfig, OldConfig, AppEnvs). %% @doc Get all registered authentication providers. get_providers() ->