chore(emqx_auth_mnesia): fix dialyzer warnings (match returned values)

This commit is contained in:
z8674558 2021-02-19 16:16:24 +09:00
parent 91d00b2586
commit 5a960fdabc
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ hash(Password, SaltBin, HashType) ->
emqx_passwd:hash(HashType, <<SaltBin/binary, Password/binary>>).
salt() ->
rand:seed(exsplus, erlang:timestamp()),
{_AlgHandler, _AlgState} = rand:seed(exsplus, erlang:timestamp()),
Salt = rand:uniform(16#ffffffff), <<Salt:32>>.
%%--------------------------------------------------------------------