From 864febeefc5213928bf88f89a714a006326e5b41 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Fri, 11 Oct 2024 21:16:11 -0400
Subject: Stop creating accounts during login.

---
 ui/routes/(login)/login/+page.svelte | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'ui/routes/(login)/login/+page.svelte')

diff --git a/ui/routes/(login)/login/+page.svelte b/ui/routes/(login)/login/+page.svelte
index a349660..29dba54 100644
--- a/ui/routes/(login)/login/+page.svelte
+++ b/ui/routes/(login)/login/+page.svelte
@@ -1,7 +1,6 @@
 <script>
     import { goto } from '$app/navigation';
     import { logIn } from '$lib/apiServer';
-    import { currentUser } from '$lib/store';
 
     import LogIn from '$lib/components/LogIn.svelte';
 
@@ -10,11 +9,9 @@
     let password;
 
     async function onSubmit() {
-        debugger;
         disabled = true;
         const response = await logIn(username, password);
         if (200 <= response.status && response.status < 300) {
-            currentUser.update(() => ({ username }));
             username = '';
             password = '';
             goto('/');
-- 
cgit v1.2.3

