Properly overwrite session cookie when logging out
This commit is contained in:
parent
a6b6c259ce
commit
967e918df1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user