Skip to content

Commit

Permalink
Add. mais tempo ao token jwt - Back-end.
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSS187 committed Feb 14, 2023
1 parent 1260b30 commit deb5df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back-end/src/adapters/JwtAdapter/JwtAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {

export class JwtAdapter implements IJwtAdapter {
generateToken ( { id }: IJwtAuthenticationData ) {
const expiresIn = "1d";
const expiresIn = 1647456000; //* 30 dias
const token = jwt.sign(
{
id,
Expand Down

1 comment on commit deb5df2

@vercel
Copy link

@vercel vercel bot commented on deb5df2 Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.