UserB can view UserA's conversation cards after creating an account
Svenstar74 opened this issue · 0 comments
Svenstar74 commented
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
- You start a new conversation and paste the link into a new tab.
- You complete the quiz and click through all pages until you can create an account at the end.
- After creating the account you're logged in as UserB.
- 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.