Skip to main content

hi All,

Can anybody please suggest a way to override the page that opens  when "Reset Password" button is clicked on the user detail page of any Partner User?

 

Basically when we are doing the "Forgot Password" link from Community Login page and the link then receives on email is opening the correct custom vf page of ours which we have configured in "Login and Registration" section under "Administration" page of Community.

But when "Reset Password" button is clicked from user detail page is clicked and the link when received in email is opening the standard page of Salesforce for password change

3 réponses
  1. 10 mars 2023, 16:33

    hi @Michael Brown

    Yes that can be one last approach, but I wish to understand if its possible by any other simple configurational means?

    Also for that approach, there is one doubt I have, if you can try to answer that as well, it would be very helpful.

     

    As per the standard procedure , when user clicks on forgot password link from community, he lands on a page where in he has to provide the username and then Salesforce sends him a link that opens the custom "Change Password" vf page that we have configured in administration.

    When user reaches that page via the link, the page some where is aware that which user is doing password change.

     

    However , if we place our custom button on user detail lets say for portal users only, then how we are going to land the user on change password page using that button and make sure that it changes password and changes password of correct user.

    I mean Site.changePassword() does not takes username as parameter, it somehow is fetching that information from page context only which I am not sure how to manipulate or even access.

     

    Thanks