mail und logging
This commit is contained in:
@@ -46,7 +46,11 @@ Kontextdaten werden in Tiefe, Array-Laenge, Schluesselanzahl und String-Laenge b
|
||||
|
||||
```typescript
|
||||
try {
|
||||
await this.mail.sendPasswordResetMail(user.email, token);
|
||||
await this.mail.sendPasswordResetMail({
|
||||
recipient: user.email,
|
||||
token,
|
||||
expiresAt: resetToken.expiresAt,
|
||||
});
|
||||
} catch (error) {
|
||||
await this.applicationErrorLogger.log({
|
||||
error,
|
||||
|
||||
Reference in New Issue
Block a user