Permalink
Browse files

Merge pull request #14 from jifeon/master

The problem described in issue#12 is fixed
  • Loading branch information...
gevorg committed Mar 25, 2012
2 parents 0806209 + df1ddb1 commit a6dd9cc4c9dad0b59e5177fae42497b80eb1dff1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/auth/basic.js
View
@@ -79,7 +79,7 @@ Basic.prototype.isAuthenticated = function(request) {
// Ensure the username and password both match.
if(myUserName === clientUserName) {
- if(htpasswd.validate(clientPasswordHash, myPasswordHash)) {
+ if(htpasswd.validate(myPasswordHash, clientPasswordHash)) {
authenticated = myUserName;
break;
}

0 comments on commit a6dd9cc

Please sign in to comment.