Symptom
The token [[onetimeurl]] allowing the user to reset their password has been included in the TCM Welcome email and appears in the Email template but in the received welcome email, the token value does not appear.
Environment
Recruiting Marketing
Reproducing the Issue
- Register in Talent Community
- Open the Welcome mail
- [[onetimeurl]] token is missing. The token and its default text : "Use the following link to change your password. It will expire in 72 hours" does not appear in the mail.
Cause
The [[onetimeurl]] token inserts a user-specific one time URL for resetting a password or deleting personal information.
The token works with a onetimekey.
If a onetimekey does not already exist for a user, it is not created and the value for [[onetimeurl]] is blank in the email.
If the token is included in the Welcome email, it makes sense that such a key would not exist yet as the member is new and a reset is not required.
In the reset password emails, a onetimekey is generated prior to sending the email so the onetimekey will exist for password reset emails and the [[onetimeurl]] will be populated as expected.
Resolution
The [[onetimeurl]] token should not be used in the Welcome email. It only makes sense in the reset password email.
Keywords
KBA , LOD-SF-RMK-CC , Command Center , Problem