...
|
...
|
@@ -64,7 +64,8 @@ function doPassportCallback(openId, nickname, sourceType, req, res) { |
|
|
return res.redirect(redirectTo);
|
|
|
});
|
|
|
} else {
|
|
|
return Promise.reject('missing third party login openId or nickname');
|
|
|
log.error(`missing third party login openId or nickname, url:${req.url}`);
|
|
|
return res.redirect(loginPage);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|