diff options
author | Badlop <badlop@process-one.net> | 2021-11-17 16:50:14 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-11-17 17:26:44 +0100 |
commit | 15d3ebb8425cc545810e882e0fe8cbf8cc276fc3 (patch) | |
tree | 0ec967956c6bbc41833df645a0e57a88a8f2b161 /src | |
parent | Update Jose to 1.11.1 (the last in hex.pm correctly versioned) (diff) |
Fix Dialyzer warning, old passwd tuple don't match current tuple definition
Diffstat (limited to 'src')
-rw-r--r-- | src/ejabberd_auth_sql.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_auth_sql.erl b/src/ejabberd_auth_sql.erl index e51bf276c..50cc1902e 100644 --- a/src/ejabberd_auth_sql.erl +++ b/src/ejabberd_auth_sql.erl @@ -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), |