使用者註冊新帳戶或要求重設密碼時,會收到內含啟用連結的電子郵件。根據預設,啟用連結會在 600 秒 (10 分鐘) 後失效。
您可以在 management-ui.properties 檔案中設定 conf_apigee_apigee.forgotPassword.EmailLinkExpirySeconds 權杖,藉此設定有效期限。
如何設定到期時間:
- 在新版 Edge UI 節點上,編輯
/opt/apigee/customer/application/management-ui.properties。如果該檔案不存在,請建立檔案:vi /opt/apigee/customer/application/management-ui.properties
- 在檔案中新增下列屬性,以秒為單位設定到期時間 (預設為
600):conf_apigee_apigee.forgotPassword.EmailLinkExpirySeconds=timeInSeconds
- 確認屬性檔案的擁有者是
apigee使用者:chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
- 重新啟動 New Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart