🏁 Add Windows Support (bcrypt > bcrypt-node)

- This commit replaces bcrypt with bcrypt-node, which has the same functionality as bcrypy - except that it is a pure Node implementation. This change is required to run parse-server on Windows (one can get bcrypt to compile on Windows, but it requires a few Gigabytes of dependencies).
This commit is contained in:
Felix Rieseberg
2016-01-31 16:54:16 -08:00
parent 522abdf606
commit 1cddbb0a37
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
// Tools for encrypting and decrypting passwords.
// Basically promise-friendly wrappers for bcrypt.
var bcrypt = require('bcrypt');
var bcrypt = require('bcrypt-nodejs');
// Returns a promise for a hashed password string.
function hash(password) {