1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

Remove unused function

This commit is contained in:
Paweł Chmielowski 2025-06-02 18:39:51 +02:00
parent 591e15f0f6
commit 167bbc768a

View file

@ -258,13 +258,6 @@ drop_password_type(LServer, Hash) ->
?SQL("delete from users" ?SQL("delete from users"
" where type=%(Type)d and %(LServer)H")). " where type=%(Type)d and %(LServer)H")).
scram_hash_encode(Hash, StoreKey) ->
case Hash of
sha -> StoreKey;
sha256 -> <<"sha256:", StoreKey/binary>>;
sha512 -> <<"sha512:", StoreKey/binary>>
end.
set_password_scram_t(LUser, LServer, Hash, set_password_scram_t(LUser, LServer, Hash,
StoredKey, ServerKey, Salt, IterationCount) -> StoredKey, ServerKey, Salt, IterationCount) ->
Type = hash_to_num(Hash), Type = hash_to_num(Hash),