about summary refs log tree commit diff
path: root/served/auth.html
diff options
context:
space:
mode:
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>