free-be-account 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1070,7 +1070,7 @@ module.exports = (app) => ({
|
|
|
1070
1070
|
let access_token = req.cookies.token || req.header('Authorization');
|
|
1071
1071
|
|
|
1072
1072
|
// call logout of the passport
|
|
1073
|
-
req.logout();
|
|
1073
|
+
req.logout(() => {});
|
|
1074
1074
|
|
|
1075
1075
|
// clear the cached token
|
|
1076
1076
|
res.clearCookie('token');
|