chore(emqx_auth_mnesia): fix dialyzer warnings (match returned values)
This commit is contained in:
parent
91d00b2586
commit
5a960fdabc
|
@ -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>>.
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue