From 5ee149d5279408c0a0ee3e7e91e88241b2fb17ff Mon Sep 17 00:00:00 2001
From: Mitchell Riedstra <mitch@riedstra.dev>
Date: Tue, 3 Jan 2023 19:29:58 -0500
Subject: Creating new pastes from the UI works. As does the login page.

Still need to redirect to login page automatically.
Also need to show only one of Logout or Login at a time.
---
 ui/src/routes/login/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/ui/src/routes/login/+page.svelte b/ui/src/routes/login/+page.svelte
index bed5c18..f427d41 100644
--- a/ui/src/routes/login/+page.svelte
+++ b/ui/src/routes/login/+page.svelte
@@ -3,7 +3,7 @@
 <h2>Login</h2>
 
 <div class="contianer">
-    <form action="" method="post">
+    <form action="/api/v1/login" method="post">
 
         <label for="username">Username: </label>
         <input type="text" name="username" id="username" />
@@ -18,4 +18,4 @@
         <button type="submit">Login</button>
 
     </form>
-</div>
\ No newline at end of file
+</div>
-- 
cgit v1.2.3

