Comparing version 0.4.3 to 0.4.4
@@ -0,1 +1,5 @@ | ||
0.4.4 - 2014-02-09 | ||
- Fix a bug where if the server responded to an error on the first step of SRP authentication it was not handled correctly (i.e when the user is not found) | ||
0.4.3 - 2013-12-19 | ||
@@ -2,0 +6,0 @@ |
@@ -265,2 +265,7 @@ var WebSocket = require('faye-websocket'), | ||
self.call('beginPasswordExchange', [initialRequest], function(err, result) { | ||
if(err) { | ||
callback(err); | ||
return; | ||
} | ||
var response = srp.respondToChallenge(result); | ||
@@ -278,3 +283,3 @@ | ||
if (conf) { | ||
callback(null, result) | ||
callback(null); | ||
} else { | ||
@@ -281,0 +286,0 @@ callback({error:"The HAMK doesn't match. Possible MITM attack"}); |
{ | ||
"name": "ddp", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Node.js module to connect to servers using DDP protocol.", | ||
@@ -5,0 +5,0 @@ "author": "Tom Coleman <tom@thesnail.org> (http://tom.thesnail.org)", |
Sorry, the diff of this file is not supported yet
21341
450