addict v0.3.0 Addict.Interactors.SendResetPasswordEmail

Summary

Functions

Executes the password recovery flow: verifies if the user exists and sends the e-mail with the reset link

Functions

call(email, configs \\ Addict.Configs)

Executes the password recovery flow: verifies if the user exists and sends the e-mail with the reset link

Either returns {:ok, user} or {:ok, nil}. {:ok, nil} is returned when e-mail is not found to avoid user enumeration.