Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unnecessary logging.

  • Loading branch information...
commit 3f1cd60e621343e0f381110879b9169a301269ff 1 parent 9e8bf21
@mmlin mmlin authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  index.js
View
2  index.js
@@ -45,10 +45,8 @@ function generate(password, callback) {
// recalculating it. The callback gets two arguments (err, isVerified).
function verify(password, hashedPassword, callback) {
var parts = hashedPassword.split('$');
- console.log('parts', parts);
generateHash(password, parts[2], parseInt(parts[1], 10), 20, function(err, key) {
if (err) return callback(err);
- console.log('key', key);
callback(null, hashedPassword == key);
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.