fix(authentication): fix unhook

This commit is contained in:
zhouzb 2021-05-25 15:02:31 +08:00
parent 3a96aa3db2
commit c323113068
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ enable() ->
% end.
disable() ->
emqx:unhook('client.authenticate', {}),
emqx:unhook('client.authenticate', fun emqx_authentication:authenticate/1),
% emqx:unhook('client.enhanced_authenticate', {}),
ok.