Skip to content

Commit

Permalink
Changed verification code validity to 15 minutes (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBinaryGuy authored Mar 10, 2024
1 parent c953df0 commit cabfb58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function generateEmailVerificationCode(userId: string, email: string): Pro
user_id: userId,
email,
code,
expires_at: createDate(new TimeSpan(5, "m")) // 5 minutes
expires_at: createDate(new TimeSpan(15, "m")) // 15 minutes
});
return code;
}
Expand Down

0 comments on commit cabfb58

Please sign in to comment.