From dce5c007576a760130476031756104339dc5e33c Mon Sep 17 00:00:00 2001 From: Luis Deschamps Rudge Date: Thu, 23 May 2019 15:58:57 -0300 Subject: [PATCH] FIx createPasswordChangeTicket docs --- src/management/index.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/management/index.js b/src/management/index.js index b687a7e0b..6303f0217 100644 --- a/src/management/index.js +++ b/src/management/index.js @@ -2016,11 +2016,18 @@ utils.wrapPropertyMethod(ManagementClient, 'sendEmailVerification', 'jobs.verify * @memberOf module:management.ManagementClient.prototype * * @example + * + * var params = { + * result_url: '{REDIRECT_URL}', // Redirect after using the ticket. + * user_id: '{USER_ID}' + * }; + * + * // or + * * var params = { * result_url: '{REDIRECT_URL}', // Redirect after using the ticket. - * user_id: '{USER_ID}', // Optional. - * email: '{USER_EMAIL}', // Optional. - * new_password: '{PASSWORD}' + * email: '{USER_EMAIL}', + * connection_id: '{CONNECTION}' // eg. con_00000000001 * }; * * auth0.createPasswordChangeTicket(params, function (err) {