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

Don't show login error when refreshing on non-home pages #5

Open
crcastle opened this issue Dec 22, 2015 · 0 comments
Open

Don't show login error when refreshing on non-home pages #5

crcastle opened this issue Dec 22, 2015 · 0 comments

Comments

@crcastle
Copy link
Owner

Currently if the user refreshes the page while on a page that requires auth, they are shown an error when the page reloads. This is because on page load the user is not actually logged until a few seconds later. The Google Auth process doesn't start until after the page has finished loading (which is expected).

Better behavior would be to redirect the user to the homepage (which happens now) and not show the error. Any time a user loads the page from scratch at http://tweet.crc.io/#!/tweet or /#!/scheduled, we should redirect the user to the homepage and not show an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant