Autocomplete issue during login

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 

 

 

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0