stephb9959
2022-11-17 21:02:45 -08:00
parent 0060e81fae
commit 5c7db88f10
8 changed files with 30 additions and 30 deletions

View File

@@ -570,7 +570,7 @@ namespace OpenWifi {
}
std::string FWSignature = GetParameter("FWsignature","");
if(DeviceInfo.restrictedDevice && FWSignature.empty() && R.sysupgrade_not_allowed()) {
if(FWSignature.empty() && R.sysupgrade_not_allowed()) {
return BadRequest(RESTAPI::Errors::DeviceRequiresSignature);
}