fix password not being cleared when blank_password is set

This commit is contained in:
cylgom
2020-02-03 08:34:42 +01:00
parent b2c1ef5c50
commit 2892559ea2
4 changed files with 15 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ void config_load(const char *cfg_path)
{"asterisk", &config.asterisk, config_handle_char},
{"bg", &config.bg, config_handle_u8},
{"blank_box", &config.blank_box, config_handle_bool},
{"blank_password", &config.blank_box, config_handle_bool},
{"blank_password", &config.blank_password, config_handle_bool},
{"console_dev", &config.console_dev, config_handle_str},
{"default_input", &config.default_input, config_handle_u8},
{"fg", &config.fg, config_handle_u8},