fix(authentication): fix unhook
This commit is contained in:
parent
3a96aa3db2
commit
c323113068
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue