留言板

Issue with password reset link

Ajay V,修改在12 年前。

Issue with password reset link

New Member 帖子: 2 加入日期: 11-11-3 最近的帖子
Hi,

My requirement to send a mail to user when the user account is created . That mail should contains password reset link instead of random generated password .
I made it by overriding the addUser(...) method of UserLocalServiceImpl and called the sendPassword( . . . ) method on that . This was done through hook by implementing the service impl class . Am able to get the mail with reset link.

But here the problem is when i clicked on that link in mail it is redirecting me to that login page . If any user is logged in then it is working fine .

Please let me know does it require any configuration or so...

Am running Liferay 6.0 version.

Thanks
Aj.
thumbnail
Mika Koivisto,修改在12 年前。

RE: Issue with password reset link

Liferay Legend 帖子: 1519 加入日期: 06-8-7 最近的帖子
What Liferay version are you using? Does the link have ticket and is that ticket in database in Ticket table? Is there a p_l_id parameter in the url? If there is does it work without that parameter?
Ajay V,修改在12 年前。

RE: Issue with password reset link

New Member 帖子: 2 加入日期: 11-11-3 最近的帖子
Sorry for the delay . And thanks for your response .

Yes the problem is with the p_l_id parameter only.

Its is working fine now.
thumbnail
Mika Koivisto,修改在12 年前。

RE: Issue with password reset link

Liferay Legend 帖子: 1519 加入日期: 06-8-7 最近的帖子
I think the p_l_id is id of a private page and that is why it wasn't working. I can't recall in which version we fixed that.