This commit is contained in:
2025-10-18 18:34:06 +02:00
parent 5dfffcbcb7
commit 2c9da94143
3 changed files with 2 additions and 3 deletions

View File

@@ -38,7 +38,6 @@ func adminLoginHandler(w http.ResponseWriter, r *http.Request) {
Value: base64.StdEncoding.EncodeToString([]byte(username + ":" + hashPassword(password))),
Path: "/admin/",
HttpOnly: true,
MaxAge: 3600,
})
http.Redirect(w, r, "/admin/", http.StatusSeeOther)
}