Where/how is the Forgot My Password email configured

Confluence 3.5:

When I click on the Forgot my Password link from the login screen, the email I receive has two links:

You (or someone else) has requested to reset your password.

If you follow the link below you will be able to personally reset your password.
https://xxxxxxxxx/confluence/resetuserpassword.action?username=jhowe&token=7e283032605a8286920c3be324532beb15e6bbed <https://xxxxxxx/confluence/resetuserpassword.action?username=jhowe&amp;token=7e283032605a8286920c3be324532beb15e6bbed>

The links are almost identical with the exception of the 'amp;' in the secon link.

Only the first link works. Why are there two links and how do we make them both work?

1 answer

1 accepted

Not sure why you're getting 2 different links. Tested this on http://confluence.atlassian.com which is currently running on 4.2-rc1, and works fine. Try to double check and ensure your Application Server URL encoding is set correctly to UTF-8.

If you'd like to check and customise the source of the Forgot Password email, you can find and do so at:

  • HTML format: <confluence-install>/confluence/WEB-INF/lib/confluence-x.x.x.jar/templates/email/html/forgotuserpassword-notification.vm
  • Plain text format: <confluence-install>/confluence/WEB-INF/lib/confluence-x.x.x.jar/templates/email/text/forgotuserpassword-notification.vm

You might want to refer to this page for reference on how to edit files within JAR archives. This would require a restart to get it picked up.

Thank you Husein, this is exactly what I needed to know.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,268 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you