mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix Salt import from prosody SCRAMmed password (#1803)
This commit is contained in:
parent
9dd03c873c
commit
b66e369a1d
@ -115,7 +115,7 @@ maybe_get_scram_auth(Data) ->
|
||||
#scram{
|
||||
storedkey = misc:hex_to_base64(proplists:get_value(<<"stored_key">>, Data, <<"">>)),
|
||||
serverkey = misc:hex_to_base64(proplists:get_value(<<"server_key">>, Data, <<"">>)),
|
||||
salt = misc:hex_to_base64(proplists:get_value(<<"salt">>, Data, <<"">>)),
|
||||
salt = base64:encode(proplists:get_value(<<"salt">>, Data, <<"">>)),
|
||||
iterationcount = round(IC)
|
||||
};
|
||||
_ -> <<"">>
|
||||
|
Loading…
Reference in New Issue
Block a user