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

Logging out doesn't work when tutorial says it will #13

Open
piannaf opened this issue Jan 1, 2018 · 0 comments
Open

Logging out doesn't work when tutorial says it will #13

piannaf opened this issue Jan 1, 2018 · 0 comments

Comments

@piannaf
Copy link

piannaf commented Jan 1, 2018

<Route exact path="/logout" component={Logout} />

This line and the associated import are not mentioned in the tutorial. So it was surprising to read "Now logging out (by visiting “/logout”) and logging in should both work" but then logout didn't work.

After following along the tutorials up to this point, I had a feeling the route needed to be added here, but still wasn't sure (so I came to reference the repo). I suggest the tutorial either say something like "Of course, we also need to add "/logout" to our routes" or be more explicit.

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

1 participant