fix(exhook): `client.authorize` hook always uses real-topic
See: emqx_channel:do_check_sub_authzs/3, line: 1895
This commit is contained in:
parent
cfe3b2dcee
commit
47901c9fed
|
@ -143,7 +143,7 @@ on_client_authorize(ClientInfo, Action, Topic, Result) ->
|
|||
Req = #{
|
||||
clientinfo => clientinfo(ClientInfo),
|
||||
type => Type,
|
||||
topic => emqx_topic:maybe_format_share(Topic),
|
||||
topic => emqx_topic:get_shared_real_topic(Topic),
|
||||
result => Bool
|
||||
},
|
||||
case
|
||||
|
|
Loading…
Reference in New Issue