diff --git a/packages/standard-components/src/Login.svelte b/packages/standard-components/src/Login.svelte index e9d7adb843..0675c65f46 100644 --- a/packages/standard-components/src/Login.svelte +++ b/packages/standard-components/src/Login.svelte @@ -23,10 +23,7 @@ const login = async () => { loading = true - const response = await _bb.api.post("/api/authenticate", { - username, - password, - }) + const response = await _bb.api.post("/api/authenticate", { username, password }) if (response.status === 200) { const json = await response.json() localStorage.setItem("budibase:token", json.token) @@ -39,39 +36,47 @@ } -
-
-
- {#if logo} -
- logo -
- {/if} +
+
+ {#if logo} +
+ logo +
+ {/if} -