Hey guys. I had a question about the sendPasswordR...
# support-questions-legacy
s
Hey guys. I had a question about the sendPasswordResetEmail method that we use to send a reset password link to the user. Can someone explain the different options available for how the email is sent? I checked the docs here https://supertokens.com/docs/web-js/modules/recipe_emailpassword.html#RecipeFunctionOptions but it isn't clear to me what the RecipeFunctionOptions object passed to recipe functions represents. Maybe an example of the options object and what it means can be helpful.
r
Hey! In the minimal case, you only need to pass this the email ID to send the reset password email to.
Hey. In the minimal case, you only need to pass it the email Id
The options is just a way for you to be able to modify the actual request object that’s being sent
5 Views