fix(emqx_auth_jwt_app): Dialyzer warnings
This commit is contained in:
parent
d8c9547a5e
commit
dc27900260
|
@ -33,11 +33,10 @@ start(_Type, _Args) ->
|
||||||
|
|
||||||
{ok, Pid} = start_auth_server(jwks_svr_options()),
|
{ok, Pid} = start_auth_server(jwks_svr_options()),
|
||||||
ok = emqx_auth_jwt:register_metrics(),
|
ok = emqx_auth_jwt:register_metrics(),
|
||||||
|
|
||||||
AuthEnv0 = auth_env(),
|
AuthEnv0 = auth_env(),
|
||||||
AuthEnv1 = AuthEnv0#{pid => Pid},
|
AuthEnv1 = AuthEnv0#{pid => Pid},
|
||||||
|
|
||||||
emqx:hook('client.authenticate', {emqx_auth_jwt, check, [AuthEnv1]}),
|
_ = emqx:hook('client.authenticate', {emqx_auth_jwt, check, [AuthEnv1]}),
|
||||||
{ok, Sup, AuthEnv1}.
|
{ok, Sup, AuthEnv1}.
|
||||||
|
|
||||||
stop(AuthEnv) ->
|
stop(AuthEnv) ->
|
||||||
|
|
Loading…
Reference in New Issue