Skip to content

Commit

Permalink
User-service: Reduce JWT duration to 1hr
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCwy committed Nov 12, 2023
1 parent aafa605 commit 27e032a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user-service/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const REQUEST_ERROR_MESSAGES = {

// JWT Related
const SALT_ROUNDS = 10;
const TOKEN_DURATION = '7 days';
const TOKEN_DURATION = '1h';

export {
HTTP_ERROR_CODES,
Expand Down

0 comments on commit 27e032a

Please sign in to comment.