about summary refs log tree commit diff
path: root/served/auth.html
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2026-10-01 03:21:07 -0500
committergennyble <gen@nyble.dev>2026-10-01 03:21:07 -0500
commit95372e6caf8aee51c90fc76c46f1e350e635fe11 (patch)
tree9f700c002b6f1ff99322abe744ca18caed5f2f52 /served/auth.html
parent8cce9c2808f7128cab2e6c377148f042fa3ee0b4 (diff)
woof, quark work HEAD main
Diffstat (limited to 'served/auth.html')
-rw-r--r--served/auth.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/served/auth.html b/served/auth.html
new file mode 100644
index 0000000..3a04c65
--- /dev/null
+++ b/served/auth.html
@@ -0,0 +1,21 @@
+---
+title=Auth!
+---
+<h2>Login</h2>
+<form action="/api/auth/login" method="post">
+	<input type="text" placeholder="name" name="name">
+	<input type="password" placeholder="password" name="password">
+	<input type="submit" value="login~">
+</form>
+
+<h2>Register</h2>
+<form action="/api/auth/register" method="post">
+	<input type="text" placeholder="name" name="name">
+	<input type="password" placeholder="password" name="password">
+	<input type="submit" value="register+">
+</form>
+
+<h2>Logout</h2>
+<form action="/api/auth/logout" method="post">
+	<input type="submit" value="logout;">
+</form>