Skip to content

Loading…

The problem described in issue#12 is fixed #14

Merged
merged 1 commit into from

2 participants

@gevorg gevorg merged commit a6dd9cc into gevorg:master
@gevorg
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2012
  1. @jifeon

    basic auth with sha1 fixed

    jifeon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/auth/basic.js
View
2 lib/auth/basic.js
@@ -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;
}
Something went wrong with that request. Please try again.