
Triggers
Post Change Password
Thepost-change-password
trigger runs after a database connection user resets or changes their password.
Multiple Actions can be bound to this trigger, and the Actions will run in order. However, these Actions will be run asynchronously and will not block the password reset process.
Reference
- Event object: Provides contextual information about the user and the connection on which the password was changed.
- API object: Provides methods for changing the behavior of the flow.
Common use cases
Invalidate the user’s session in another system
A post-change-password Action can be used to invalidate the user’s session in another system:Pour utiliser une bibliothèque
npm
comme axios
, vous devez ajouter la bibliothèque à l’Action en tant que dépendance. Pour en savoir plus, lisez la section « Ajouter une dépendance » dans Rédigez votre première action.