Skip to content

feat: Add plugin hook for activation email context, and remove enterprise context - #39127

Merged
pwnage101 merged 1 commit into
masterfrom
pwnage101/ENT-11816
Sep 18, 2026
Merged

pwnage101 merged 1 commit into
masterfrom
pwnage101/ENT-11816

Conversation

@pwnage101

@pwnage101 pwnage101 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates.

Relatedly, this removes in-platform injection of the is_enterprise_learner key into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter.

ENT-11816


Related PRs:

…rise context

A new OpenEdX filter AccountActivationEmailContextGenerated is called
(in place of custom enterprise logic) to allow plugins more flexibility
in customizing the account activation email via theme-provided custom
email templates.

Relatedly, this removes in-platform injection of the `is_enterprise_learner`
key into the activation email context.  This can now be accomplished via
plugins which implement a pipeline step for the newly added filter.

Upstreamed from edx#425.

ENT-11816
@pwnage101
pwnage101 marked this pull request as ready for review September 17, 2026 23:02
@pwnage101
pwnage101 merged commit c9d66fa into master Sep 18, 2026
46 checks passed
@pwnage101
pwnage101 deleted the pwnage101/ENT-11816 branch September 18, 2026 15:26
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.

3 participants