+ Start a Discussion
Shubham Panda 7Shubham Panda 7 

how to write forgot password code in lightning

hello evryone,
can anyone help me to write the code for "fogot password" 
 
Jefferson FernandezJefferson Fernandez
Hi there,
Isn't the link on initial logging enough? ?Because i'm thinking once you are logged in already, the user already has option to reset the password on his/her settings. You can try the use the force:navigateToURL (https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_navigateToURL.htm?search_text=navigateTourl) option when you write the code for your custom "Forgot Password" link. You will have to learn and build the component first which is a different topic.
Thanks,