Skip to content

Conversation

@g-linville
Copy link
Member

for #5125

Signed-off-by: Grant Linville <grant@acorn.io>
Signed-off-by: Grant Linville <grant@acorn.io>
MaxAge: -1,
})
// Refresh the page so that the cookie deletes.
http.Redirect(rw, req, req.URL.String(), http.StatusFound)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like an abuse of HTTP but I'm not sure of any other way to delete the cookie and refresh, besides doing this.

@g-linville g-linville requested a review from njhale November 25, 2025 17:26
@g-linville g-linville merged commit 58cb2e6 into obot-platform:main Nov 25, 2025
4 checks passed
@g-linville g-linville deleted the fix-session-invalid branch November 25, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants