PresetBundle: Add print_host to options considered security-sensitive
full_config_secure() now also removes print_host option alongside printhost_apikey and printhost_cafile.
This commit is contained in:
parent
4edae08a11
commit
f9184f3564
1 changed files with 1 additions and 0 deletions
|
@ -445,6 +445,7 @@ DynamicPrintConfig PresetBundle::full_config() const
|
||||||
DynamicPrintConfig PresetBundle::full_config_secure() const
|
DynamicPrintConfig PresetBundle::full_config_secure() const
|
||||||
{
|
{
|
||||||
DynamicPrintConfig config = this->full_config();
|
DynamicPrintConfig config = this->full_config();
|
||||||
|
config.erase("print_host");
|
||||||
config.erase("printhost_apikey");
|
config.erase("printhost_apikey");
|
||||||
config.erase("printhost_cafile");
|
config.erase("printhost_cafile");
|
||||||
return config;
|
return config;
|
||||||
|
|
Loading…
Add table
Reference in a new issue