blob: 3a04c653e9eead34777a7d6dcc5fcf847c1bc949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>
|