diff --git a/plugins/dynamix/include/Boot.php b/plugins/dynamix/include/Boot.php index 50b85fbd4..55996349a 100644 --- a/plugins/dynamix/include/Boot.php +++ b/plugins/dynamix/include/Boot.php @@ -83,6 +83,13 @@ $(document).ajaxSend(function(elm, xhr, s){ s.data += "csrf_token="; } }); +/** + * If we have a sessionStorage item for hiding the UPC's 'lets unleash your hardware' overlay for ENOKEYFILE state users + * this will remove the item so that if the user reboots their server the overlay will display again once the server comes back up. + */ +const serverName = ''; +const guid = ''; +sessionStorage.removeItem(`${serverName}_${guid ? guid.slice(-12) : 'NO_GUID'}`);