Skip to content

Commit

Permalink
fix: update the error message for ERR_CODE_007
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Sep 12, 2023
1 parent d737abd commit c57a784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build/recipe/emailpassword/api/implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function getAPIImplementation() {
return {
status: "SIGN_UP_NOT_ALLOWED",
reason:
"Cannot sign up due to security reasons. Please try resetting your password, use a different login method or contact support. (ERR_CODE_007)",
"Cannot sign up due to security reasons. Please try logging in, use a different login method or contact support. (ERR_CODE_007)",
};
}
// this function also does account linking
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/recipe/emailpassword/api/implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export default function getAPIImplementation(): APIInterface {
return {
status: "SIGN_UP_NOT_ALLOWED",
reason:
"Cannot sign up due to security reasons. Please try resetting your password, use a different login method or contact support. (ERR_CODE_007)",
"Cannot sign up due to security reasons. Please try logging in, use a different login method or contact support. (ERR_CODE_007)",
};
}

Expand Down

0 comments on commit c57a784

Please sign in to comment.