View Source AshAuthentication.Strategy.Password.RequestPasswordResetPreparation (ash_authentication v4.3.2)
Prepare a query for a password reset request.
This preparation performs three jobs, one before the query executes and two after:
- it constraints the query to match the identity field passed to the action.
- if there is a user returned by the query, then a. generate a reset token and b. publish a notification.
Always returns an empty result.
Summary
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.