Don't store the octoprint host key to the amf/3mf files.

This commit is contained in:
bubnikv 2018-12-06 14:42:15 +01:00
parent c6ef194094
commit edc306db45
4 changed files with 14 additions and 3 deletions

View file

@ -445,6 +445,14 @@ DynamicPrintConfig PresetBundle::full_config() const
this->full_sla_config();
}
DynamicPrintConfig PresetBundle::full_config_secure() const
{
DynamicPrintConfig config = this->full_config();
config.erase("printhost_apikey");
config.erase("printhost_cafile");
return config;
}
DynamicPrintConfig PresetBundle::full_fff_config() const
{
DynamicPrintConfig out;