Describe the bug
When a new user signs up and adds their first name and first website, or when an existing user adds a new website, the jwt cookie which contains the user information is not updated.
This means, /websites does not display the new website. Also, the new website does not show up on the dashboard website selector. The first name is undefined.
To Reproduce
Steps to reproduce the behavior:
Sign in with an existing user
Onboard a new website
Navigate to /websites
The new website is missing
Expected behavior
Whenever the user object changes, the server needs to issue a new jwt cookie.
Screenshots - Optional
N/A
Desktop (please complete the following information) - Optional:
All
Smartphone (please complete the following information) - Optional:
All
Describe the bug When a new user signs up and adds their first name and first website, or when an existing user adds a new website, the
jwt
cookie which contains the user information is not updated.This means,
/websites
does not display the new website. Also, the new website does not show up on the dashboard website selector. The first name isundefined
.To Reproduce Steps to reproduce the behavior:
/websites
Expected behavior Whenever the
user
object changes, the server needs to issue a newjwt
cookie.Screenshots - Optional N/A
Desktop (please complete the following information) - Optional: All
Smartphone (please complete the following information) - Optional: All
Additional context - Optional N/A