Permalink
Browse files

Updated dependencies.

  • Loading branch information...
1 parent 0f01ffc commit 0f44fa6bde3d94e68f0d1c77c2b4f8bc00bf5e63 @gevorg gevorg committed Aug 28, 2013
Showing with 7 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .npmignore
  3. +2 −2 lib/auth/basic.js
  4. +3 −3 package.json
View
@@ -3,3 +3,4 @@ node_modules
http-auth.iml
.idea
*.swp
+.settings
View
@@ -4,3 +4,4 @@ node_modules
http-auth.iml
.idea
*.swp
+.settings
View
@@ -89,7 +89,7 @@ Basic.prototype.isAuthenticated = function(request, callback) {
if (clientUserString) {
if (this.authHelper) {
this.authHelper(clientUserName, function(passwordHash) {
- if ( passwordHash && htpasswd.validate(passwordHash, clientPasswordHash) ) {
+ if ( passwordHash && htpasswd(passwordHash, clientPasswordHash) ) {
callback(clientUserName);
} else {
callback();
@@ -126,7 +126,7 @@ Basic.prototype.validateClientString = function(clientUserName, clientPasswordHa
// Ensure the username and password both match.
if (myUserName === clientUserName) {
- if (htpasswd.validate(myPasswordHash, clientPasswordHash)) {
+ if (htpasswd(myPasswordHash, clientPasswordHash)) {
authenticated = myUserName;
break;
}
View
@@ -1,7 +1,7 @@
{
"name": "http-auth",
"description": "Node.js package for HTTP basic and digest access authentication.",
- "version": "1.2.8",
+ "version": "1.2.9",
"author": "Gevorg Harutyunyan (http://github.com/gevorg)",
"maintainers": [
{
@@ -26,8 +26,8 @@
},
"dependencies": {
"node-uuid": "1.2.0",
- "htpasswd": "1.1.3",
- "htdigest": "1.1.0"
+ "htpasswd": "2.0.2",
+ "htdigest": "2.0.1"
},
"devDependencies": {
"nodeunit": "0.7.4",

0 comments on commit 0f44fa6

Please sign in to comment.