mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_auth_internal_hashed: Make SCRAM iteration count configurable
This commit is contained in:
parent
28bd099515
commit
c122d673e6
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ local get_auth_db = assert(scram_hashers[hash_name], "SCRAM-"..hash_name.." not
|
|||
local scram_name = "scram_"..hash_name:gsub("%-","_"):lower();
|
||||
|
||||
-- Default; can be set per-user
|
||||
local default_iteration_count = 4096;
|
||||
local default_iteration_count = module:get_option_number("default_iteration_count", 4096);
|
||||
|
||||
-- define auth provider
|
||||
local provider = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue