Skip to content

Commit 7f6b196

Browse files
author
simonxu
committed
使用bcryptjs,bcrypt安装太拼人品
1 parent e3cd585 commit 7f6b196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/utils/security.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
var bcrypt = require('bcrypt');
2+
var bcrypt = require('bcryptjs');
33
var crypto = require('crypto');
44
var fs = require('fs');
55
var Promise = require('bluebird');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"aws-sdk": "^2.7.0",
39-
"bcrypt": "^0.8.7",
39+
"bcryptjs": "^2.3.0",
4040
"bluebird": "^3.4.1",
4141
"body-parser": "^1.15.2",
4242
"cookie-parser": "^1.4.3",

0 commit comments

Comments
 (0)