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

Logout locally before logging in #151

Merged
merged 1 commit into from Apr 20, 2018

Conversation

Projects
None yet
2 participants
@pedantic-git
Contributor

pedantic-git commented Apr 18, 2018

This is a fix for issue #136. When using the local authentication strategy, we need to "logout locally" before attempting to log in, so we're not sending (e.g.) an expired token along with the login request.

This moves the local functionality out of the logout() method and calls it from both login and logout.

@pi0

pi0 approved these changes Apr 20, 2018

@pi0 pi0 merged commit b6cfad4 into nuxt-community:dev Apr 20, 2018

@pi0

This comment has been minimized.

Member

pi0 commented Apr 20, 2018

Thanks.

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