新規アカウント作成時のパスワード設定リンク有効期限
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
問題
- 新規アカウント作成時のパスワード設定リンクに有効期限はありますか
解決
-
パスワード設定のリンクを生成した場合、データベース上の「Ticket」テーブル内にレコードが追加されます。
”Ticket.expirationDate”に期限切れとなる時間が記録されており、メールに記載されているリンクへアクセスするまではデータベース上にレコードが保持されます。
合わせて、メールに記載されたURLのパラメータ:”ticketKey”に対応する値が、"Ticket.key_"に格納されます。
URLへアクセスした際にデータベースの”Ticket.expirationDate”をチェックし、期限切れの場合は期限切れの画面が表示されます。
それと同時に、データベース上の当該レコードが削除されます。
ユーザーを新規作成した場合は、”Ticket.expirationDate”の値が「NULL」となるため、期限切れとはなりません。
did-this-article-resolve-your-issue