From e71e1b2838f41c60ebf14a1001ff96aff6e71b94 Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Mon, 10 Nov 2014 12:41:32 -0300 Subject: [PATCH] fixes change passphrase --- plugins/emailstore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/emailstore.js b/plugins/emailstore.js index f2d081a..613d432 100644 --- a/plugins/emailstore.js +++ b/plugins/emailstore.js @@ -585,7 +585,7 @@ emailPlugin.changePassphrase = function (request, response) { } }).on('end', function () { var params = querystring.parse(queryData); - var newPassphrase = params.passphrase; + var newPassphrase = params.newPassphrase; if (!email || !passphrase || !newPassphrase) { return emailPlugin.returnError(emailPlugin.errors.INVALID_REQUEST, response); }