From 0f68823298c478c7344c5c71d823bbe5969ce6dd Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Thu, 11 Sep 2014 16:55:16 -0700 Subject: [PATCH] Fix 'shout add' crash --- package.json | 2 +- src/command-line/add.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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