pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
Showing only changes of commit 8c572c2eaa - Show all commits

View File

@ -91,9 +91,10 @@ async function register() { // Registers a device by sending POST request to API
showDone(); showDone();
hideLoading(); hideLoading();
return; return;
} else if (res.status == 403) } else if (res.status == 403) {
log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, "err") log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, "err")
document.getElementsByName("eml")[0].placeholder = "Not Authorised"; document.getElementsByName("eml")[0].placeholder = "Not Authorised";
}
} else { } else {
logout() logout()
} }