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

fix: make user sessions work across different ip addresses #8066

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

stephanegigandet
Copy link
Contributor

This fixes @raphael0202 's most wanted issue #8038

In practice, it means user sessions are now not restricted by ip address. So if the session cookie gets stolen somehow, it would be possible to use it from any ip.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@raphael0202
Copy link
Contributor

Thank you @stephanegigandet! How long is the cookie alive?

Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

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

LGTM.

I don't see major threat to cookie being stolen as we are full https.

@alexgarel alexgarel merged commit 1be5399 into main Feb 6, 2023
@alexgarel alexgarel deleted the issue-8038 branch February 6, 2023 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants