Remove redundant session cookie clear

This commit is contained in:
max 2023-03-16 08:40:50 -05:00
parent cf8aea5115
commit 965139ea18

View File

@ -134,13 +134,5 @@ func LogoutUser(app *app.App, w http.ResponseWriter, r *http.Request) {
return return
} }
// Delete cookie
cookie = &http.Cookie{
Name: "session",
Value: "",
Path: "/",
MaxAge: -1,
}
http.SetCookie(w, cookie) http.SetCookie(w, cookie)
} }