Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forgot Password Form email template parsing error #2695

Open
jHards opened this issue Jan 5, 2023 · 0 comments · May be fixed by #2696
Open

Forgot Password Form email template parsing error #2695

jHards opened this issue Jan 5, 2023 · 0 comments · May be fixed by #2696

Comments

@jHards
Copy link
Contributor

jHards commented Jan 5, 2023

Description of the problem
My {exp:member:forgot_password_form} was submitting fine but the resultant email didn't include all the parsed variables I had included in the template. For me, everything but {username} was parsing.

How To Reproduce
Steps to reproduce the behavior:
Submit a {exp:member:forgot_password_form} form with a defined email_template="" parameter that includes a {username} placeholder

Error Messages
N/A

Screenshots / Videos / Template Code
N/A

Environment Details:

  • Version: 7.2.5
  • PHP Version 7.4.33

Possible Solution
PR in progress. The error seems to be here where fetch_template_and_parse_from_path($protected['email_template']) is used instead of fetch_template_from_path($protected['email_template']); that is used on the forgot username form.

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants