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

Logout locally before logging in #151

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

pedantic-git
Copy link
Contributor

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 merged commit b6cfad4 into nuxt-community:dev Apr 20, 2018
@pi0
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants