diff options
| author | gennyble <gen@nyble.dev> | 2026-10-01 03:21:07 -0500 |
|---|---|---|
| committer | gennyble <gen@nyble.dev> | 2026-10-01 03:21:07 -0500 |
| commit | 95372e6caf8aee51c90fc76c46f1e350e635fe11 (patch) | |
| tree | 9f700c002b6f1ff99322abe744ca18caed5f2f52 /served/auth.html | |
| parent | 8cce9c2808f7128cab2e6c377148f042fa3ee0b4 (diff) | |
Diffstat (limited to 'served/auth.html')
| -rw-r--r-- | served/auth.html | 21 |
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> |
