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

UserB can view UserA's conversation cards after creating an account #385

Open
Svenstar74 opened this issue Dec 8, 2022 · 0 comments
Open
Labels
bug Something isn't working security Pull requests that address a security vulnerability

Comments

@Svenstar74
Copy link
Collaborator

Describe the bug

A UserB that just created an account after finishing the quiz from a link he received can view the conversation cards of UserA.

To Reproduce

  1. You start a new conversation and paste the link into a new tab.
  2. You complete the quiz and click through all pages until you can create an account at the end.
  3. After creating the account you're logged in as UserB.
  4. If you now go to the conversation drawer, you can see the conversation cards from UserA (as you just created a new account, there should be only one conversation card from UserA).

Expected behavior

After you created the account and are logged in, your conversation drawer should only show you one card, which is the conversation that lead to creating the account with UserA.

Task

  • I would guess that this has to do with the quizId that is stored in the localStorage.
@Svenstar74 Svenstar74 added bug Something isn't working security Pull requests that address a security vulnerability labels Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security Pull requests that address a security vulnerability
Projects
None yet
Development

No branches or pull requests

1 participant