aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-05 22:48:29 -0800
committerAdam Soltys <[email protected]>2024-11-05 22:48:29 -0800
commitacc3dee428f2a0e173549066c0ce611320dbc6b0 (patch)
treec73262c955642ca84df5275e588920bc226fa034 /src/routes/(static)
parent4bb28759a7d3e718c0e6fb85d61c8c40035a2087 (diff)
downloadcoinos-ui-acc3dee428f2a0e173549066c0ce611320dbc6b0.tar.gz
coinos-ui-acc3dee428f2a0e173549066c0ce611320dbc6b0.zip
remove generate
Diffstat (limited to 'src/routes/(static)')
-rw-r--r--src/routes/(static)/login/+page.svelte10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte
index 80795160..3f66c4d5 100644
--- a/src/routes/(static)/login/+page.svelte
+++ b/src/routes/(static)/login/+page.svelte
@@ -50,7 +50,6 @@
let data = new FormData(this);
let user = Object.fromEntries(data);
- await generate(user);
for (let k in user) {
data.set(k, user[k]);
@@ -105,7 +104,10 @@
placeholder={$t("login.username")}
/>
- <label for="password" class="input flex items-center justify-center gap-2 w-full">
+ <label
+ for="password"
+ class="input flex items-center justify-center gap-2 w-full"
+ >
{#if revealPassword}
<input
class="clean w-full grow focus:!outline-offset-0"
@@ -136,9 +138,7 @@
</label>
<div class="flex justify-end items-center">
- <a
- href="/forgot"
- class="underline underline-offset-4 text-secondary"
+ <a href="/forgot" class="underline underline-offset-4 text-secondary"
>{$t("login.forgotUserOrPassword")}</a
>
</div>