Skip to content

Commit

Permalink
resetTokenExpiresAt not being properly set as DateTime, need to conve…
Browse files Browse the repository at this point in the history
…rt to string first?
  • Loading branch information
cannikin committed Nov 3, 2023
1 parent 622d792 commit 537c5da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/auth-providers/dbAuth/api/src/DbAuthHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ export class DbAuthHandler<
},
data: {
[this.options.authFields.resetToken]: tokenHash,
[this.options.authFields.resetTokenExpiresAt]: tokenExpires,
[this.options.authFields.resetTokenExpiresAt]:
tokenExpires.toISOString(),
},
})
} catch (e) {
Expand Down

0 comments on commit 537c5da

Please sign in to comment.