From 6d081c7489e1f87f502d91c61782fb54e25ed18b Mon Sep 17 00:00:00 2001 From: isra el Date: Mon, 13 Oct 2025 06:24:37 +0300 Subject: [PATCH] chore(api): track password reset expiresAt timestamp --- api/src/auth/auth.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/auth/auth.service.ts b/api/src/auth/auth.service.ts index 3864c2a..6dd3ac4 100644 --- a/api/src/auth/auth.service.ts +++ b/api/src/auth/auth.service.ts @@ -219,6 +219,9 @@ export class AuthService { user.password = hashedPassword await user.save() + passwordReset.expiresAt = new Date(Date.now()) + await passwordReset.save() + this.mailService.sendEmailFromTemplate({ to: user.email, subject: 'textbee.dev - Password Reset',