Fix 'shout add' crash
This commit is contained in:
parent
0365e01859
commit
0f68823298
@ -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": {
|
||||
|
@ -47,7 +47,7 @@ program
|
||||
if (err) {
|
||||
return;
|
||||
}
|
||||
var hash = hashSync(password, 8);
|
||||
var hash = bcrypt.hashSync(password, 8);
|
||||
manager.addUser(
|
||||
name,
|
||||
hash
|
||||
|
Loading…
Reference in New Issue
Block a user