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');
});Updated 20 days ago
