Fixed line of code (meew0) causing logins with new creds to fail

This commit is contained in:
abalabahaha
2016-01-29 21:01:35 -08:00
parent b052d59e46
commit 35c800cc8f
2 changed files with 2 additions and 2 deletions

View File

@@ -349,7 +349,7 @@ export default class InternalClient {
this.client.emit("debug", "direct API login, cached token was unavailable");
var token = res.token;
this.tokenCacher.setToken(email, password, token);
loginWithToken(token, email, password);
return this.loginWithToken(token, email, password);
}, error => {
this.websocket = null;
throw error;