diff --git a/packages/auth-providers/dbAuth/api/src/DbAuthHandler.ts b/packages/auth-providers/dbAuth/api/src/DbAuthHandler.ts index 4b77d294ab44..7608844813e3 100644 --- a/packages/auth-providers/dbAuth/api/src/DbAuthHandler.ts +++ b/packages/auth-providers/dbAuth/api/src/DbAuthHandler.ts @@ -530,8 +530,7 @@ export class DbAuthHandler< }, data: { [this.options.authFields.resetToken]: tokenHash, - [this.options.authFields.resetTokenExpiresAt]: - tokenExpires.toISOString(), + [this.options.authFields.resetTokenExpiresAt]: tokenExpires, }, }) } catch (e) {