Legacy Knowledge Base
Published Jul. 2, 2025

Changing password forces users to log in again

Written By

Alexandra Rujzam

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

Changing password invalidates current sessions and the users have to log in again.

2020-02-07 13:08:37.558 ERROR [http-nio-8080-exec-2][PortletServlet:112] javax.portlet.PortletException: java.lang.IllegalStateException: getAttribute: Session already invalidated

Environment

  • Liferay DXP 7.0 - liferay-fixpack-de-83-7010 and above
  • Liferay DXP 7.1 - liferay-fixpack-dxp-3-7110 and above

Resolution

This behaviour was changed in de-83-7010 and dxp-3-7110 for security reasons, but setting the below property in portal-ext.properties to false brings back the old functionality.

com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter=false

 

Did this article resolve your issue ?

Legacy Knowledge Base