Skip to content

Commit

Permalink
Add emitting token on forget-password (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcodefaster authored Jul 8, 2024
1 parent 22f905c commit cc884a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ export class User {
{ user: user, req: req, token: token }
);
}
this.emitter.emit('forgot-password', user);
this.emitter.emit('forgot-password', user, token);
}

/**
Expand Down

0 comments on commit cc884a7

Please sign in to comment.