Legacy Knowledge Base
Published Sep. 10, 2025

Password Reset Link Immediately Shows as 'No Longer Valid'

Written By

Lili Gyöngyi Fülöp

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When a user requests a password reset, the link in the notification email leads to an error page stating, "Your password reset link is no longer valid."
  • This occurs even if the link is clicked immediately after being received and the configured password reset link duration has not expired.

Environment

  • Liferay DXP 2025.Q1+

Resolution

The cause of this issue is the default email template for password resets, which includes a period at the end of the URL. Some email clients may include this period as part of the link, which invalidates it.

To resolve this, follow these steps to edit the email template:

  1. Navigate to Control Panel > Instance Settings > Email.
  2. Click on the Password Reset Notification tab.
  3. In the body of the template, locate the [$PASSWORD_RESET_URL$] variable.
  4. Remove the period (.) that immediately follows the variable.
  5. Click Save.

 

Additional Information

  • Email Settings Documentation
  • Password reset link expiration settings can be configured under Control Panel > Security > Password Policies.
Did this article resolve your issue ?

Legacy Knowledge Base