added authentication among other things. considered working at this point.
This commit is contained in:
9
templates/account/login.html
Normal file
9
templates/account/login.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{ define "content" }}
|
||||
<h2>Login</h2>
|
||||
<form method="POST" action="/login">
|
||||
{{ .csrfField }}
|
||||
<label>Username: <input type="text" name="username" required></label><br>
|
||||
<label>Password: <input type="password" name="password" required></label><br>
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user