diff --git a/src/Options/Definitions.js b/src/Options/Definitions.js index 33b6b66b..69123741 100644 --- a/src/Options/Definitions.js +++ b/src/Options/Definitions.js @@ -127,7 +127,8 @@ module.exports.ParseServerOptions = { }, emailVerifyTokenReuseIfValid: { env: 'PARSE_SERVER_EMAIL_VERIFY_TOKEN_REUSE_IF_VALID', - help: 'an existing password reset token should be reused when a password reset is requested', + help: + 'an existing email verify token should be reused when resend verification email is requested', action: parsers.booleanParser, default: false, }, diff --git a/src/Options/docs.js b/src/Options/docs.js index 426a01da..03fd3eb4 100644 --- a/src/Options/docs.js +++ b/src/Options/docs.js @@ -23,7 +23,7 @@ * @property {Boolean} directAccess Replace HTTP Interface when using JS SDK in current node runtime, defaults to false. Caution, this is an experimental feature that may not be appropriate for production. * @property {String} dotNetKey Key for Unity and .Net SDK * @property {Adapter} emailAdapter Adapter module for email sending - * @property {Boolean} emailVerifyTokenReuseIfValid an existing password reset token should be reused when a password reset is requested + * @property {Boolean} emailVerifyTokenReuseIfValid an existing email verify token should be reused when resend verification email is requested * @property {Number} emailVerifyTokenValidityDuration Email verification token validity duration, in seconds * @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true * @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors diff --git a/src/Options/index.js b/src/Options/index.js index 70a14b12..b83e51af 100644 --- a/src/Options/index.js +++ b/src/Options/index.js @@ -124,7 +124,7 @@ export interface ParseServerOptions { preventLoginWithUnverifiedEmail: ?boolean; /* Email verification token validity duration, in seconds */ emailVerifyTokenValidityDuration: ?number; - /* an existing password reset token should be reused when resend verification is requested + /* an existing email verify token should be reused when resend verification email is requested :DEFAULT: false */ emailVerifyTokenReuseIfValid: ?boolean; /* account lockout policy for failed login attempts */