mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix Dialyzer warning, old passwd tuple don't match current tuple definition
This commit is contained in:
parent
689749a563
commit
15d3ebb842
@ -299,8 +299,8 @@ export(_Server) ->
|
||||
["username=%(LUser)s",
|
||||
"server_host=%(LServer)s",
|
||||
"password=%(Password)s"])];
|
||||
(Host, #passwd{us = {LUser, LServer},
|
||||
password = {scram, StoredKey1, ServerKey, Salt, IterationCount}})
|
||||
(Host, {passwd, {LUser, LServer},
|
||||
{scram, StoredKey1, ServerKey, Salt, IterationCount}})
|
||||
when LServer == Host ->
|
||||
Hash = sha,
|
||||
StoredKey = scram_hash_encode(Hash, StoredKey1),
|
||||
|
Loading…
Reference in New Issue
Block a user