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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,020 views 23 13
Join discussion

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