Actually validate configs when loading them

An indenting problem meant the validators weren't being
called, which revealed some follow-on errors.
This commit is contained in:
meejah
2018-05-19 20:10:39 -06:00
parent cc3897a49d
commit 3723945296
5 changed files with 11 additions and 10 deletions

View File

@ -72,6 +72,7 @@ def _valid_config_sections():
"expire.override_lease_duration",
"readonly",
"reserved_space",
"storage_dir",
),
"sftpd": (
"accounts.file",