You need to sign in to do that
Don't have an account?
chaitanya Krishna 19
site forgot password link
Hey Team,
I am implementing partner portal in my project, Actually when ever user selects forgot password link the salesforce defaultly asks for the username and sends a reset link to the user email.
the use case is before sending the reset link we should check wether the user name existing in our org or not... if its existed then oly it should send the reset link...
i dont know how to acheive this... can any one help me with the source..
I am implementing partner portal in my project, Actually when ever user selects forgot password link the salesforce defaultly asks for the username and sends a reset link to the user email.
the use case is before sending the reset link we should check wether the user name existing in our org or not... if its existed then oly it should send the reset link...
i dont know how to acheive this... can any one help me with the source..
All Answers
https://developer.salesforce.com/forums/?id=906F0000000900lIAA
Use Site.forgotPassword(username) method in your controller, it will handle all the required scenarios.