function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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,