Legacy Knowledge Base
Published Jul. 2, 2025

Autocomplete issue during login

Written By

Viktória Gyömbér

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

During login, the browser autocompletes the user's credentials into the fields based on past logins.

Environment

Liferay DXP 7.1
Liferay DXP 7.2
Liferay DXP 7.3
Liferay DXP 7.4

Resolution

These login credentials are stored and filled out in the browser, so Liferay may not have full control over this. However, there are settings that can tell the browser not to autofill the credentials for login fields. You can use this property in your portal-ext.properties file to do this:
#
# Set this to true to allow users to autocomplete the login form based on
# their previously entered values.
#
# Env: LIFERAY_COMPANY_PERIOD_SECURITY_PERIOD_LOGIN_PERIOD_FORM_PERIOD_AUTOCOMPLETE
#
company.security.login.form.autocomplete=false

 

Additional Information

Please note that this may not work properly with every browsers, as some of them can ignore the autocomplete property:
https://help.liferay.com/hc/en-us/articles/360027024292-Known-Issue-Browser-Ignores-Disabled-Autocomplete-Property-for-Saving-User-Login-Information 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base