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)/setup/+page.svelte | 2 --
 1 file changed, 2 deletions(-)

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

diff --git a/ui/routes/(login)/setup/+page.svelte b/ui/routes/(login)/setup/+page.svelte
index 252e79b..2503502 100644
--- a/ui/routes/(login)/setup/+page.svelte
+++ b/ui/routes/(login)/setup/+page.svelte
@@ -1,7 +1,6 @@
 <script>
     import { goto } from '$app/navigation';
     import { setup } from '$lib/apiServer';
-    import { currentUser } from '$lib/store';
 
     import LogIn from '$lib/components/LogIn.svelte';
 
@@ -13,7 +12,6 @@
         disabled = true;
         const response = await setup(username, password);
         if (200 <= response.status && response.status < 300) {
-            currentUser.update(() => ({ username }));
             username = '';
             password = '';
             goto('/');
-- 
cgit v1.2.3

