chimney
This commit is contained in:
parent
66ca428bff
commit
e570f484bf
|
@ -189,8 +189,6 @@ module.exports.login = function (options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return getSession().then(function (sessionResult) {
|
return getSession().then(function (sessionResult) {
|
||||||
console.log('sessionResult');
|
|
||||||
console.log(sessionResult);
|
|
||||||
var session = sessionResult.result;
|
var session = sessionResult.result;
|
||||||
var id = require('crypto').createHash('sha256').update(session.token.sub || '').digest('hex');
|
var id = require('crypto').createHash('sha256').update(session.token.sub || '').digest('hex');
|
||||||
|
|
||||||
|
@ -201,8 +199,6 @@ module.exports.login = function (options) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}).then(function (session) {
|
}).then(function (session) {
|
||||||
form.println('session:');
|
|
||||||
form.println(session);
|
|
||||||
oauth3.__session = session;
|
oauth3.__session = session;
|
||||||
return oauth3;
|
return oauth3;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue