mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Remove unused function
This commit is contained in:
parent
591e15f0f6
commit
167bbc768a
1 changed files with 0 additions and 7 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue