Authored by ccbikai

错误信息修改

@@ -257,7 +257,7 @@ const qq = { @@ -257,7 +257,7 @@ const qq = {
257 doPassportCallback(openId, nickname, 'qq', req, res).catch(next); 257 doPassportCallback(openId, nickname, 'qq', req, res).catch(next);
258 })(req, res, next); 258 })(req, res, next);
259 } else { 259 } else {
260 - return next(new Error('Auth State Mismatch')); 260 + return next('Auth State Mismatch' + req.originalUrl);
261 } 261 }
262 } 262 }
263 }; 263 };

23.4 KB | W: | H:

2.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin