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

Add unique user id (not actual id) to cookie names. #242

Open
simjanos-dev opened this issue May 6, 2024 · 0 comments
Open

Add unique user id (not actual id) to cookie names. #242

simjanos-dev opened this issue May 6, 2024 · 0 comments

Comments

@simjanos-dev
Copy link
Owner

Most settings are saved to cookies, but if there will be multiple users on one device in the future, they may prefer different settings, so the cookies should be separated per user.

Cookie values do not contain private data, only settings. But it is better to use to hash made from user id + name together, so the actual user id won't be stored in the cookie names.

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

No branches or pull requests

1 participant