New user is not being able to login properly
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
learn-legacy-article-disclaimer-text
Issue
- A new user (this also happens to LDAP users) is unable to log-in the first time, but seems to be able to log-in on the second attempt.
-
Steps to reproduce:
1) Create a guest user from Create Account tab at the sign-in page.
2) Click on the sign-in button
3) Type the username and password of the new user and login
4) The user is redirected to the 'Terms of Use' page where they could approve it and being redirected to the password change UI.
Expected Behavior: After changing the user's password, the user should be redirected to a password reminder page and login in directly.
Observed Behavior: User gets logged out and gets redirected to the sign-in portlet
Now, when trying to log-in again (second time), the user gets logged in successfully.
Resolution
- When the following property in the portal-ext.properties file is set, the portal can behave as observed behavior
- session.enable.phishing.protection=false
- The portal works as expected after commenting or removing this property.
did-this-article-resolve-your-issue