emqttd_auth_dashboard.erl 230 B

1234567891011121314
  1. -module(emqttd_auth_dashboard).
  2. %% Auth callbacks
  3. -export([init/1, check/3, description/0]).
  4. init(Opts) ->
  5. {ok, Opts}.
  6. check(_Client, _Password, _Opts) ->
  7. allow.
  8. description() ->
  9. "Test emqttd_auth_dashboard Mod".