Skip to content

Commit

Permalink
fix: sets 5 minutes to expires the token
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuscosmome committed Sep 15, 2023
1 parent b01b65e commit e16dc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/account/account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class AccountService {
}

private recoveryTokenExpirationDate(): Date {
const tokenExpiresIn = 6e4 * 1;
const tokenExpiresIn = 6e4 * 5;
const now = new Date().getTime();
const expiresIn = new Date(now + tokenExpiresIn);

Expand Down

0 comments on commit e16dc22

Please sign in to comment.