Properly overwrite session cookie when logging out

This commit is contained in:
Maximilian 2022-11-01 17:31:19 -05:00
parent a6b6c259ce
commit 967e918df1

View File

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