Very simple dumb login that has no password hashing.
This commit is contained in:
parent
57d892e35c
commit
05788e5fbb
5 changed files with 123 additions and 3 deletions
1
main.go
1
main.go
|
@ -34,6 +34,7 @@ func main() {
|
|||
|
||||
app.Static("/", "./public")
|
||||
|
||||
// this sets up graceful shutdown
|
||||
go func() {
|
||||
if err := app.Listen(":5001"); err != nil {
|
||||
log.Panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue