• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Can you use the same template for the forgot password and send password emails?

Scheduled Pinned Locked Moved
Q&A
email templates
0
2
1.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dan
    last edited by 12 Mar 2021, 16:18

    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 )

    --
    FusionAuth - Auth for devs, built by devs.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 12 Mar 2021, 16:18

      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

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post