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

the user name displayed in the logout button corresponds to the previous session #596

Closed
luispinedamx opened this issue Sep 14, 2018 · 1 comment

Comments

@luispinedamx
Copy link
Contributor

When logging into the Studio, the user name that is displayed in the logout button corresponds to the user of the previous session.

The first time that we log in, the value is even displayed as undefined.

image

The next times we log in, the value always corresponds to the user of the previous session.

image

image

This bug is fixed by simply refreshing the page, but it is better to prevent it as it gives the impression of a login error.

chloegugli added a commit to chloegugli/studio that referenced this issue Sep 27, 2018
…user name) was built before setCurrentUser was finished. Adding 'async' fixed the problem, now we wait for the currentUser request to be done to start building the logout view
chloegugli added a commit to chloegugli/studio that referenced this issue Sep 27, 2018
…user name) was built before setCurrentUser was finished. Adding 'async' fixed the problem, now we wait for the currentUser request to be done to start building the logout view
chloegugli added a commit that referenced this issue Sep 27, 2018
Fixing issues #596 & #568: Wrong user displayed
@chloegugli
Copy link
Contributor

#601

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

2 participants