diff --git a/lib/load_gen/activities/reset_pass.js b/lib/load_gen/activities/reset_pass.js index 945d236bf5da7286f5abd8d97cb5ac782e6e97ce..ec5d02c6dc34b8201ee28615cf19ce1cd05aa8cc 100644 --- a/lib/load_gen/activities/reset_pass.js +++ b/lib/load_gen/activities/reset_pass.js @@ -77,7 +77,8 @@ exports.startFunc = function(cfg, cb) { // and simulate clickthrough wcli.post(cfg, '/wsapi/complete_user_creation', context, { token: r.body, - pass: user.password + pass: user.password, + ephemeral: false }, function (err, r) { if (err) { return cb(err); diff --git a/lib/load_gen/activities/signup.js b/lib/load_gen/activities/signup.js index 0b597d0881d78358c1d02151df87038c6edbb4ef..60b4edb514f3ad5151ae9a9f9c989c648835ad34 100644 --- a/lib/load_gen/activities/signup.js +++ b/lib/load_gen/activities/signup.js @@ -74,7 +74,8 @@ exports.startFunc = function(cfg, cb) { // and simulate clickthrough wcli.post(cfg, '/wsapi/complete_user_creation', context, { token: r.body, - pass: user.password + pass: user.password, + ephemeral: false }, function (err, r) { try { if (err) throw err; diff --git a/lib/load_gen/common.js b/lib/load_gen/common.js index 38feaa8864d7ca1ce12cb118771825abdc0366aa..1808e76f38347c7fe9d95890bf7b03c8640b6cca 100644 --- a/lib/load_gen/common.js +++ b/lib/load_gen/common.js @@ -15,7 +15,7 @@ exports.auth = function(cfg, user, ctx, email, cb) { } else { wcli.post( cfg, '/wsapi/authenticate_user', ctx, - { email: email, pass: user.password }, + { email: email, pass: user.password, ephemeral: false }, function(err, r) { try { if (err) throw err; @@ -41,7 +41,8 @@ exports.authAndKey = function(cfg, user, ctx, email, cb) { // and now let's certify the pubkey wcli.post(cfg, '/wsapi/cert_key', ctx, { email: email, - pubkey: keypair.publicKey.serialize() + pubkey: keypair.publicKey.serialize(), + ephemeral: false }, function(err, resp) { try { if (err) throw err;