From ec8ef4fdb87ad22587a49da829e0688458b0f15d Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Tue, 15 May 2012 16:57:57 -0600 Subject: [PATCH] fix reset_pass activity, password is now sent in stage_user call --- lib/load_gen/activities/reset_pass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/load_gen/activities/reset_pass.js b/lib/load_gen/activities/reset_pass.js index ec5d02c6d..d6ccbaf46 100644 --- a/lib/load_gen/activities/reset_pass.js +++ b/lib/load_gen/activities/reset_pass.js @@ -62,6 +62,7 @@ exports.startFunc = function(cfg, cb) { // stage them wcli.post(cfg, '/wsapi/stage_user', context, { email: email, + pass: user.password, site: userdb.any(user.sites) }, function (err, r) { if (err) return cb(err); @@ -77,7 +78,6 @@ exports.startFunc = function(cfg, cb) { // and simulate clickthrough wcli.post(cfg, '/wsapi/complete_user_creation', context, { token: r.body, - pass: user.password, ephemeral: false }, function (err, r) { if (err) { -- GitLab