Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Sep 24, 2024
1 parent 3bb43e0 commit a878d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/routers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const authRouter = router({

if (existingForgotPassword) {
if (existingForgotPassword.time.getTime() + 18000 * 1000 < Date.now()) {
// The user's existing forgot password request has expired.'
// The user's existing forgot password request has expired.
// We will delete it, and proceed with creating a new one.
await db.delete(forgot_password).where(eq(forgot_password.id, existingForgotPassword.id));
} else {
Expand Down

0 comments on commit a878d84

Please sign in to comment.