Skip to content

updating additional email will go through validate email regex test - #122

Open
psawalka wants to merge 1 commit into
mainfrom
nmc/7050-Webv33.0.10.1-DEV1-Settings-Incorrect-validation-alert-displayed-for-Invalid-email-update
Open

psawalka wants to merge 1 commit into
mainfrom
nmc/7050-Webv33.0.10.1-DEV1-Settings-Incorrect-validation-alert-displayed-for-Invalid-email-update

Conversation

@psawalka

Copy link
Copy Markdown
Contributor
  • In EmailService.js, updateAdditionalEmail now converts the address with convertEmailDomainToASCII and tests it against VALIDATE_EMAIL_REGEX, the strict regex from AccountPropertyConstants.js.

  • An invalid address throws before the password prompt and before any API call. The user then sees "Unable to update additional email address", and the old address stays.

@psawalka psawalka changed the title updating additional will go through validate email regex test updating additional email will go through validate email regex test Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant