legacy-knowledge-base
公開されました Sep. 10, 2025

メール サービスが正しく設定されていないため、管理者は Multi-Factor Authentication プロセスを完了できません

written-by

Ricardo Couso

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

問題

  • 多要素認証 (MFA) では、認証を完了するために、ユーザーは送信された電子メールをフォローアップする必要があります。
  • サーバー管理 > メール でメール サービスが正しく設定されておらず、管理者がログインできませんでした。
  • 管理者がログインして電子メール サービスの構成を修正するにはどうすればよいですか?

Environment

  • ライフレイDXP 7.4、7.3

解決策

  • 他の管理者がいる場合は、電子メール サービスが正しく構成されるまで、ログインして MFA を無効にする必要があります。
  • それが不可能な場合は、OSGi 構成ファイルで MFA を無効にすることもできます。
    1. SQL クエリを実行します。
      select * from Configuration_ where configurationid like 'com.liferay.multi.factor.authentication.email.otp.configuration.MFAEmailOTPConfiguration%'
    2. 次のように、結果ごとに新しいファイルを作成します。
      • ファイル名: 前のクエリの列 configurationid の値に拡張子 .config を追加します。
      • 内容: 列 ディクショナリ の値ですが、 を変更します enabled=B"true" から enabled=B"false".
    3. 次を使用して別のファイルを作成します。
      • ファイル名: com.liferay.multi.factor.authentication.web.internal.system.configuration.MFASystemConfiguration.config
      • コンテント:
        disableGlobally=B"true"
        service.pid="com.liferay.multi.factor.authentication.web.internal.system.configuration.MFASystemConfiguration"
    4. サーバーを停止します。
    5. 作成した .config ファイルをディレクトリ $LIFERAY_HOME/osgi/configs/に配置します。
    6. portal-ext.propertiessetup.wizard.enabled=true を設定.
    7. サーバーを起動し、ウィザードに従って管理データを確立します。
    8. サーバーを停止します。
    9. 作成したファイル portal-wizard.properties 削除し、 portal-ext.propertiessetup.wizard.enabled=false を設定します。
    10. サーバーを起動し、新しいパスワードを設定します。
    11. 再度サーバーを停止し、前に $LIFERAY_HOME/osgi/configs/ に追加された .config ファイルを削除します。
    12. サーバーを再起動します。
  • MFA が再度必要な場合は、 コントロール パネル > インスタンス設定 > セキュリティ > でオプションを設定する前に、構成 多要素認証を無効にする in コントロール パネル > システム設定 > セキュリティ > 多要素認証のチェックを外す必要があります。多要素認証.

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base