Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: properly implement regenerate session ID #115

Merged
merged 2 commits into from
May 2, 2024
Merged

Conversation

unknwon
Copy link
Member

@unknwon unknwon commented May 2, 2024

Describe the pull request

#113 actually did not work... we cannot write header after response body is being written, so we must rewrite the session ID to the client (browser) at the time of regeneration.

Link to the issue: https://github.com/sourcegraph/sourcegraph-accounts/issues/193

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

@unknwon unknwon marked this pull request as ready for review May 2, 2024 15:42
@unknwon unknwon merged commit f19931a into main May 2, 2024
10 checks passed
@unknwon unknwon deleted the jc/fix-regen-id branch May 2, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant