diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:29:58 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:29:58 -0500 |
| commit | 5ee149d5279408c0a0ee3e7e91e88241b2fb17ff (patch) | |
| tree | f0120f1a55039c3ec08b6524c505632174cf7674 /ui/src/routes/login | |
| parent | 7c01e12341f79a7bdf085a141e303d209fd8b3c5 (diff) | |
| download | paste-5ee149d5279408c0a0ee3e7e91e88241b2fb17ff.tar.gz paste-5ee149d5279408c0a0ee3e7e91e88241b2fb17ff.tar.xz | |
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.
Diffstat (limited to 'ui/src/routes/login')
| -rw-r--r-- | ui/src/routes/login/+page.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
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> |
