1

I am developing a custom Salesforce Community, where in I have developed a custom Password Confirmation page.

The current functionality is working fine. I just need to compare the old password while setting up a new password (currently Salesforce functionality is doing this).Can you kindly let me know as to how I can check for the same in Controller class and then throw a message to user saying that "Password cannot be same as Previous 3 password".

Thanks, Amit

0

If you call Site.changePassword(newPassword, verifyNewPassword), doesn't it though an exception if you violate the password policy?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.