PelcroPasswordUpdate
Fired when password is changed
Overview
Fired when a user changes their password while logged in.
Triggered By
| Method | Description |
|---|---|
Pelcro.password.update() | Changing password |
Event Detail
The event.detail object contains the response from the password update.
Example
document.addEventListener('PelcroPasswordUpdate', (event) => {
console.log('Password updated successfully');
showMessage('Your password has been changed');
});Related
- Events Overview - All available events
- PelcroPasswordReset - Reset via token event
- Password Module - Password methods
Updated 1 day ago
