Merge pull request #106 from mrfrase3/patch-1

Update yggdrasil.js to fix bug when reloading session
This commit is contained in:
Robin Lambertz 2014-12-15 22:29:19 +01:00
commit ba4d871984

View file

@ -20,7 +20,8 @@ function getSession(username, password, clientToken, refresh, cb) {
var session = {
accessToken: resp.body.accessToken,
clientToken: resp.body.clientToken,
username: resp.body.selectedProfile.name
username: resp.body.selectedProfile.name,
selectedProfile: resp.body.selectedProfile
};
cb(null, session);
} else {