legacy-knowledge-base
公開されました Jul. 2, 2025

ログイン中のオートコンプリートの問題

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

learn-legacy-article-disclaimer-text

問題

ログイン時に、ブラウザは過去のログインに基づいて、ユーザーの資格情報をフィールドにオートコンプリートします。

Environment

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

解決

これらのログイン資格情報はブラウザに保存され、入力されるため、Liferay はこれを完全に制御できない可能性があります。 ただし、ログイン フィールドの資格情報を自動入力しないようにブラウザに指示できる設定があります。 これを行うには、portal-ext.properties ファイルでこのプロパティを使用できます:
#
# Env: LIFERAY_COMPANY_PERIOD_SECURITY_PERIOD_LOGIN_PERIOD_FORM_PERIOD_AUTOCOMPLETE
#
company.security.login.form.autocomplete=false

 

追加情報

ブラウザによっては autocomplete プロパティを無視する可能性があるため、これはすべてのブラウザで適切に動作するとは限らないことに注意してください。
既知の問題ログイン情報を保存するためのオートコンプリートプロパティが、ブラウザで無視される問題

 

did-this-article-resolve-your-issue

legacy-knowledge-base