free-be-account 0.0.12 → 0.0.14

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +4 -4
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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-be-account",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "main": "index.js",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -8,12 +8,12 @@
8
8
  "url": "https://github.com/freeeis/free-be-account.git"
9
9
  },
10
10
  "dependencies": {
11
- "@alicloud/pop-core": "^1.7.12",
12
- "axios": "^1.3.5",
11
+ "@alicloud/pop-core": "^1.7.13",
12
+ "axios": "^1.4.0",
13
13
  "bcrypt": "^5.1.0",
14
14
  "crypto-js": "^4.1.1",
15
15
  "js-md5": "^0.7.3",
16
- "nodemailer": "^6.9.1",
16
+ "nodemailer": "^6.9.2",
17
17
  "passport": "^0.6.0",
18
18
  "passport-local": "^1.0.0",
19
19
  "svg-captcha": "^1.4.0",