Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Logout locally before logging in #151
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