add basic login handling
This commit is contained in:
13
admin_templates/admin_templates.go
Normal file
13
admin_templates/admin_templates.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package admintemplates
|
||||
|
||||
var LoginPage string = `
|
||||
<html>
|
||||
<body>
|
||||
<form action="/login" method="post">
|
||||
<input name="username"/>
|
||||
<input type="password" name="password"/>
|
||||
<input type="submit"/>
|
||||
</form>
|
||||
</body>
|
||||
<html>
|
||||
`
|
Reference in New Issue
Block a user