Remove some debugging

This commit is contained in:
Neale Pickett 2021-08-15 20:37:30 -06:00
parent d8b14082e4
commit 69e6d70c4b
1 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ var successHtml []byte
func rootHandler(w http.ResponseWriter, req *http.Request) {
authenticated := false
log.Println(req.FormValue("passwd") == password)
if _, passwd, _ := req.BasicAuth(); passwd == password {
authenticated = true
}
@ -37,7 +36,6 @@ func rootHandler(w http.ResponseWriter, req *http.Request) {
authenticated = true
}
}
log.Println(authenticated)
if authenticated {
t := token.New(secret, time.Now().Add(lifespan))