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

Problem with Site.forgotPassword() method

Hello there,


I have created a new Profile in my portal. I have created its users. I have a forgot password functionality implemented on my project. That functionality works for old profiles, however not working now for newly created profile.


Please, help with this issue.


The page display default erro message : " Your username was not found. ", when I enter username and press "Submit" button.


Thank you in advance.

Sravanthi YaravaSravanthi Yarava
Have you assigned the new profile to the Custom Portal. If you go to the custom portal detail page you will see a section to assign profiles. Assign the profile if you havent done so and try again.