diff --git a/js/auth.js b/js/auth.js index 2dba456..096722b 100644 --- a/js/auth.js +++ b/js/auth.js @@ -29,7 +29,7 @@ async function registerKey(key) { // Posts key to server and listens for respons body: JSON.stringify(key) }) if (res.JSON['result'] == "ok"){ - localStorage.setItem("uuid", res.JSON['uuid']) + localStorage.setItem("uuid", res.JSON['uuid']); return true; } else { return false;