diff --git a/js/settings.js b/js/settings.js index 7a9ed54..4e72216 100644 --- a/js/settings.js +++ b/js/settings.js @@ -92,7 +92,6 @@ async function register() { // Registers a device by sending POST request to API if (res.status == 201) { regState = 'success' regMsg = 'ok' - return } else if (res.status == 403) { log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, 'err') document.getElementsByName('eml')[0].placeholder = 'Not Authorised'