Skip to content
Snippets Groups Projects
Commit 2d756d98 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Wrong key name for min_password_length

As reported by Max (WESTLINE)
parent a938ab1e
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ BOOL read_main_cfg(scfg_t* cfg, char* error, size_t maxerrlen) ...@@ -117,7 +117,7 @@ BOOL read_main_cfg(scfg_t* cfg, char* error, size_t maxerrlen)
cfg->max_minutes = iniGetInteger(ini, ROOT_SECTION, "max_minutes", 0); cfg->max_minutes = iniGetInteger(ini, ROOT_SECTION, "max_minutes", 0);
cfg->cdt_per_dollar = (uint32_t)iniGetBytes(ini, ROOT_SECTION, "cdt_per_dollar", 1, 0); cfg->cdt_per_dollar = (uint32_t)iniGetBytes(ini, ROOT_SECTION, "cdt_per_dollar", 1, 0);
cfg->guest_msgscan_init = iniGetInteger(ini, ROOT_SECTION, "guest_msgscan_init", 0); cfg->guest_msgscan_init = iniGetInteger(ini, ROOT_SECTION, "guest_msgscan_init", 0);
cfg->min_pwlen = iniGetInteger(ini, ROOT_SECTION, "min_pwlen", 0); cfg->min_pwlen = iniGetInteger(ini, ROOT_SECTION, "min_password_length", 0);
if(cfg->min_pwlen < MIN_PASS_LEN) if(cfg->min_pwlen < MIN_PASS_LEN)
cfg->min_pwlen = MIN_PASS_LEN; cfg->min_pwlen = MIN_PASS_LEN;
if(cfg->min_pwlen > LEN_PASS) if(cfg->min_pwlen > LEN_PASS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment