mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
mod_storage_xep0227: Use enum option method
This commit is contained in:
parent
88e969dec2
commit
7b32c69b43
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ local handlers = {};
|
|||
-- In order to support custom account properties
|
||||
local extended = "http://prosody.im/protocol/extended-xep0227\1";
|
||||
|
||||
local scram_hash_name = module:get_option_string("password_hash", "SHA-1");
|
||||
local scram_hash_name = module:get_option_enum("password_hash", "SHA-1", "SHA-256");
|
||||
local scram_properties = set.new({ "server_key", "stored_key", "iteration_count", "salt" });
|
||||
|
||||
handlers.accounts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue