diff --git a/package.json b/package.json index 8c49a720..8b0c1e1b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "A web IRC client", - "version": "0.25.1", + "version": "0.25.2", "author": "Mattias Erming", "preferGlobal": true, "bin": { diff --git a/src/command-line/add.js b/src/command-line/add.js index f430e8a7..bb3093e5 100644 --- a/src/command-line/add.js +++ b/src/command-line/add.js @@ -47,7 +47,7 @@ program if (err) { return; } - var hash = hashSync(password, 8); + var hash = bcrypt.hashSync(password, 8); manager.addUser( name, hash