feat: Add Parse Server option resetPasswordSuccessOnInvalidEmail to choose success or error response on password reset with invalid email (#7551)

This commit is contained in:
Daniel
2023-02-25 06:30:48 +11:00
committed by GitHub
parent 5477848518
commit e5d610e5e4
6 changed files with 73 additions and 16 deletions

View File

@@ -525,6 +525,11 @@ export interface PasswordPolicyOptions {
Default is `false`.
:DEFAULT: false */
resetTokenReuseIfValid: ?boolean;
/* Set to `true` if a request to reset the password should return a success response even if the provided email address is invalid, or `false` if the request should return an error response if the email address is invalid.
<br><br>
Default is `true`.
:DEFAULT: true */
resetPasswordSuccessOnInvalidEmail: ?boolean;
}
export interface FileUploadOptions {