diff --git a/slowcord/public/login.html b/slowcord/public/login.html
index 1d9b9707..6b1f879c 100644
--- a/slowcord/public/login.html
+++ b/slowcord/public/login.html
@@ -150,7 +150,7 @@
})
});
- const json = response.json();
+ const json = await response.json();
if (json.token) {
window.localStorage.setItem("token", json.token);
window.location.href = "/app";