2

I have a requirement to send a reset password link from the apex code. By default, the reset password link which is sent over the email is valid for 24 hours. Can I change that to 72 hours? I am skeptical about if we can change this. If not, is there any workaround for this?

PS I have already checked the settings in the password policies. I also went through this help article but it doesn't say if we can customize it or not.

2
  • 1
    Out of the box - no. To change the semantics of reset password, you have to custom code the whole thing yourself.
    – identigral
    Commented Sep 18, 2020 at 16:23
  • @identigral Thanks, that's the last option, but let's see if someone comes up with a better answer. Commented Sep 18, 2020 at 17:07

1 Answer 1

1

Unfortunately, it is not possible as this is hard-coded into the salesforce platform. See this help article: https://help.salesforce.com/s/articleView?id=000390510&type=1

Thanks

1
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Commented Sep 6, 2023 at 15:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .