Skip to content

Add email change confirmation template and code link - #48

Merged
jmgasper merged 1 commit into
developfrom
email_change_validation
Sep 1, 2026
Merged

Add email change confirmation template and code link#48
jmgasper merged 1 commit into
developfrom
email_change_validation

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a dedicated email-change confirmation HTML template using the actual userHandle and verificationAgreeUrl substitutions
  • generate links for /account-settings/email-change/verify?code=...
  • accept code on the public identity completion endpoint while retaining token for already-issued links
  • document the email topic/template contract and updated environment URL

Deployment note

Create or update the SendGrid template from docs/email-templates/change-email-validation.html, then map member.action.email.profile.emailchange.verification to that template ID in the email service topic map.

Verification

  • pnpm test --runInBand src/api/user/email-change.service.spec.ts src/api/user/email-change.controller.spec.ts
  • pnpm lint
  • pnpm build
  • template substitution and retired-link validation script

Compatibility

Existing ?token=... API links and <emailChangeToken> URL configuration remain supported.

Related

@jmgasper
jmgasper merged commit 989040a into develop Sep 1, 2026
5 checks passed
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