diff --git a/frontend/src/Components/Login.svelte b/frontend/src/Components/Login.svelte
index 8dbb43b..2aa9b5e 100644
--- a/frontend/src/Components/Login.svelte
+++ b/frontend/src/Components/Login.svelte
@@ -50,7 +50,7 @@
location.href = endpoint + '?' + new URLSearchParams(json);
}
} else {
- error = resp.text();
+ error = await resp.text();
if (btn) btn.disabled = false;
}
}
diff --git a/frontend/src/routes/user/List.svelte b/frontend/src/routes/user/List.svelte
index 9c36486..252b35e 100644
--- a/frontend/src/routes/user/List.svelte
+++ b/frontend/src/routes/user/List.svelte
@@ -35,9 +35,9 @@