Password Reset Token After Create Account For Someone Else

Driving myself mad.

The password reset email works in a script for creating an account for someone else, but as soon as I check the just make token, and add the token to arbitrary text stored in a state, in my next workflow step, the result of that step comes back blank!

Is there an issue with this token being set in a state??

Very odd. (The reason I am setting it in a state is that I want the email to be able to be personalise so it is bring up an email editor before sending.

Hey, yes this drove me mad too haha but figured out the solution. Let me know if this helps

Thanks, Got It! So I will have to have the editable email, and then add the reset token by sending it from the backend. I cant hold the token content in the frontend.

Makes Sense I guess

That’s correct. You can refer to the demo I had set up for reference.

Thanks your a star!

Used a dummy [RESETTOKEN] in my editable email html link in my front end and then added the reset password if thats found in the body of the email body sent to the backend, with a find and replace in my email script, and it works a treat!!!

David

Awesome - happy I was able to help out :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.