Forum Discussion
MattV
2 years agoKhoros Staff
I dug into core code a bit to see where that is used, and it looks like it was included so it could be used in email templates. The only place it's used is in email templates for the reset password link.
It doesn't seem like it will be very useful in Freemarker, but you could try replicating OOB behavior by formulating the link the way it is on the OOB component, and see if it works.
Sign in to react to this post
luk
2 years agoBoss
MattV there is actually a specific method to get a password reset token also on the user object, it's called generateResetPasswordToken(), but it seems different from generateLinkUserToken() or is it an alias?
I'll try and experiment a bit if I find time and report back...
Sign in to react to this post