Skip to content

Reset password keep success #1161

Closed
Closed
@YousefAlsbaihi

Description

@YousefAlsbaihi

Issue Description

Reset password keep giving Password reset request was sent successfully even when the email not exists or even if the email field empty

Steps to reproduce

as you can see in this code, the email is empty but it still show me the the email sent,
when i try to put an any email i get the same results.

Parse.User.requestPasswordReset("  ").then(function () {
      console.log("Password reset request was sent successfully");
}).catch(function (error) {
    console.log("The login failed with error: " + error.code + " " + error.message);
});

Expected Results

expected to show error

Actual Outcome

no debug code show up, nothing except whatever in the success point.

Environment Setup

  • Server

    • parse-server version : 3.9.0
    • Operating System: N/A " Using Back4App"
    • Hardware: N/A " Using Back4App"
    • Localhost or remote server?: remote Using Back4App
  • JS SDK

    • JS SDK version: "^2.12.0"
    • Application?: React-Native

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions