Skip to content

Commit

Permalink
Merge pull request #16 from Finboost/dev-arman
Browse files Browse the repository at this point in the history
feat(api): update JWT accessToken expired
  • Loading branch information
armandwipangestu authored Jun 7, 2024
2 parents 1f39baa + b44e18c commit ba2ee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/auths.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const signInUserHandler = async (req, res) => {
const accessToken = generateJwtToken(
payloadJwt,
process.env.JWT_ACCESS_TOKEN_SECRET,
{ expiresIn: "1h" }
{ expiresIn: "30s" }
);

const refreshToken = generateJwtToken(
Expand Down

0 comments on commit ba2ee09

Please sign in to comment.