掲示板

Customize the Forgot password page

9年前 に Subhakar Siva によって更新されました。

Customize the Forgot password page

New Member 投稿: 10 参加年月日: 13/12/30 最新の投稿
Hello,

I need to customize the forgot password page to accept the email address and password(confirm password as well). and on clicking the submit button, I need to update the password(instead of triggering an email) or else return the appropriate error message.

My approach is to have a hook to override both forgot_password.jsp and ForgotPasswordAction.java action. Am I heading in the right direction ?

Can I achieve this in a single hook? please advise.

Thanks in advance,

Subhakar.
thumbnail
9年前 に Pankaj Kathiriya によって更新されました。

RE: Customize the Forgot password page

Liferay Master 投稿: 722 参加年月日: 10/08/05 最新の投稿
Dont you think your requirement is faulty? by this feature anybody can change password of anyone knowing his/her emailId.
9年前 に Subhakar Siva によって更新されました。

RE: Customize the Forgot password page

New Member 投稿: 10 参加年月日: 13/12/30 最新の投稿
Pankaj Kathiriya:
Dont you think your requirement is faulty? by this feature anybody can change password of anyone knowing his/her emailId.

Pankaj, thanks for getting back. Yes I completely agree with you. But this is going to be immediate and temporary fix until our users email proxy servers are adjusted so that they can receive the email.
thumbnail
9年前 に Pankaj Kathiriya によって更新されました。

RE: Customize the Forgot password page

Liferay Master 投稿: 722 参加年月日: 10/08/05 最新の投稿
In that case, its achievable by using plugin-hook.

Basically you have to override jsp for adding password field and override struts-action class ForgotPasswordAction.java.

Please visit link , for how to override struts-action in hook.
Regards.
thumbnail
9年前 に Tomas Polesovsky によって更新されました。

RE: Customize the Forgot password page

Liferay Master 投稿: 676 参加年月日: 09/02/13 最新の投稿
Hi,

I'd recommend at least to employ password reset questions. It's not the best solution but much better than to have nothing.

This is insecure even for temporary solution.

Thanks.