This commit is contained in:
2019-04-29 23:00:55 +00:00
parent aa3751be35
commit 6ffbbc11de
3 changed files with 176 additions and 145 deletions

View File

@@ -13,7 +13,17 @@ export default {
)
.then(apiUtil.status)
.then(apiUtil.json)
.then(result => {
/* eslint-disable-next-line */
console.log("auth.js about to process login...");
return result;
})
.then(processLogin)
.then(result => {
/* eslint-disable-next-line */
console.log("auth.js returned from process login, resolving next");
return result;
})
.then(() => {
return Promise.resolve(true);
}) //succeeded, nothing to return