設定啟用電子郵件中的使用者啟用連結到期時間

Edge for Private Cloud 4.16.09 版

使用者註冊新帳戶或要求重設密碼時,會收到內含啟用連結的電子郵件。根據預設,啟用連結會在 600 秒 (10 分鐘) 後失效。

如要設定到期時間,請在 ui.properties 檔案中設定 conf_apigee_apigee.forgotpassword.emaillinkexpiryseconds 權杖。

如何設定到期時間:

  1. 在 Edge UI 節點上,編輯 /<install_dir>/apigee/customer/application/ui.properties。如果該檔案不存在,請建立檔案。
  2. 在檔案中新增下列屬性,以秒為單位設定到期時間:
    conf_apigee_apigee.forgotpassword.emaillinkexpiryseconds=timeInSeconds
  3. 重新啟動 Edge UI:
    > /<install_dir>/apigee/apigee-service/bin/apigee-service edge-ui restart