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

カスタムパスワードのリマインダーの質問を追加する

written-by

Vincent Liu

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

この記事では、Liferay Portal(Liferay Digital Enterprise 7.0)の管理者がユーザーリマインダークエリを有効にして活用する方法について、ステップバイステップで説明しています。 さらに、この記事では、エンドユーザーがパスワードリマインダーの質問をカスタマイズする方法についても説明しています。

解決

ポータル管理者は、 portal-ext.properties ファイルで以下のプロパティを構成する必要があります。

    #
    # Set this to true to enable reminder queries that are used to help reset a
    # user's password.
    #
    users.reminder.queries.enabled=true
    users.reminder.queries.custom.question.enabled=true

    #
    # Set this to false to enable users without a reminder query to reset their
    # password.
    #
    users.reminder.queries.required=false

    #
    # Input a list of questions used for reminder queries.
    #
    users.reminder.queries.questions=what-is-your-primary-frequent-flyer-number,what-is-your-library-card-number,what-was-your-first-phone-number,what-was-your-first-teacher's-name,what-is-your-father's-middle-name

エンドユーザーとしてログインしている場合、カスタムセキュリティの質問を追加する方法は以下の通りです。

初回ログイン時

  • ユーザー資格情報でログインします。
  • パスワードを忘れた場合 ページの 質問 セクションで、 自分で質問を作成するを選択します。
  • カスタムセキュリティの質問を入力します。
  • 保存をクリックします。

次回以降のログイン時

  • 左側の プロダクトメニュー に移動します。
  • ユーザー アカウント セクションに移動し、 アカウント設定 > アカウント設定をクリックします。
  • パスワード > リマインダの下の、質問 回答 を編集します。
  • カスタムセキュリティの質問を入力します。
  • 保存をクリックします。
did-this-article-resolve-your-issue

legacy-knowledge-base