diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-18 12:32:05 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-18 12:32:05 +0200 |
commit | 7b32c69b433f22b101e9bd958a60faf119e2a9e9 (patch) | |
tree | b38522fbd6871497ffb437a56b298154b1819ef2 /plugins/mod_storage_xep0227.lua | |
parent | 88e969dec2283cdc12f2095088bf455f679388b4 (diff) | |
download | prosody-7b32c69b433f22b101e9bd958a60faf119e2a9e9.tar.gz prosody-7b32c69b433f22b101e9bd958a60faf119e2a9e9.zip |
mod_storage_xep0227: Use enum option method
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index af61031f..5b324885 100644 --- a/plugins/mod_storage_xep0227.lua +++ b/plugins/mod_storage_xep0227.lua @@ -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 = { |