Can you use the same template for the forgot password and send password emails?
-
Since both APIs are technically the same, is there a way to use the email template defined for the Setup Password with the Forgot Password API?
(ported discussion over from https://github.com/FusionAuth/fusionauth-issues/issues/1121 )
-
Since both APIs are technically the same, is there a way to use the email template defined for the Setup Password with the Forgot Password API?
Yes. Navigate to 'Tenants -> your tenant -> Email' and you can set 'Setup password' and 'Forgot password' to be the same template.
There may be template variable differences, please consult the documentation and ensure you are checking for existence before you rely on them:
https://fusionauth.io/docs/v1/tech/email-templates/email-templates/#setup-password
https://fusionauth.io/docs/v1/tech/email-templates/email-templates/#change-password