Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Bumped ascoltatori.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Aug 7, 2014
1 parent b234cea commit 2eff7e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,22 @@ module.exports = function cli(argv, callback) {
fs.writeFile(program.credentials, JSON.stringify(authorizer.users, null, 2), callback);
});
});
};
}

function adduser(username, password) {
runned = true;
loadAuthorizerAndSave(function(err, authorizer, done) {
authorizer.addUser(username, password, program.authorizePublish,
program.authorizeSubscribe, done);
});
};
}

function rmuser(username) {
runned = true;
loadAuthorizerAndSave(function(err, authorizer, done) {
authorizer.rmUser(username, done);
});
};
}

program.
command("adduser <user> <pass>").
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"underscore": "~1.6.0"
},
"dependencies": {
"ascoltatori": "~0.15.0",
"ascoltatori": "~0.16.0",
"async": "~0.9.0",
"brfs": "1.2.0",
"browserify": "~5.9.1",
Expand Down

0 comments on commit 2eff7e0

Please sign in to comment.