Repository navigation
feat(membership): password reset request names the template + language or fallback: <reason>, and the MJML renderer state - #96
Merged
Conversation
…e the hub will use, or fallback: <reason> (mjml-render-failed (401)), and the MJML renderer state Gateway N46 reopened: the admin test reset route answers templateId, templateName, templateSource, language, languageRule, templateLanguages, fallback and mjmlRenderer; --json returns them as they are. The hub's sent entry names the chosen template even when it fell back, so the report now reads fallbackReason first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gateway N46 reopened (Happy Tummy: a TEST reset e-mail arrived as the fixed English text).
The admin test reset route (
POST /v3/membership/userauth/password/reset/test, gateway d5ac44c6c) now answers which template and language the hub will use —templateId,templateName,templateSource,language,languageRule,templateLanguages— orfallback: <code>: <reason>(e.g.mjml-render-failed (401)when the MJML renderer refuses the hub's token), plusmjmlRenderer(ok,unauthorized (401),unreachable, …).norbix membership password reset request <email> --env TEST:fallback:line and the MJML renderer state;--jsonreturns the fields as they are;fallbackReasonbeforetemplate(the hub now names the chosen template even when it fell back to the fixed text).Tests: 4 new (text report, fallback,
--json, delivery fallback first);npm test1102/0. Proved against a private Community stack with the MJML renderer refusing the token.🤖 Generated with Claude Code