Permalink
Browse files

fix validation of the hmac server side

  • Loading branch information...
pquerna committed Jun 4, 2010
1 parent 7f58e56 commit dbc82badd34b6e9ee95e1fe0141827b5e512b054
Showing with 1 addition and 1 deletion.
  1. +1 −1 dislocate/interfaces/http.js
@@ -106,7 +106,7 @@ function checkAuth(req, res, body, success, failure)
return failure("request failed to authenticate: "+ good.err);
}
- if (auth.validate(good.hmac, proposed) === true) {
+ if (auth.validateRaw(good.hmac, proposed) === true) {
return success();
}

0 comments on commit dbc82ba

Please sign in to comment.