Skip to content

Commit 2a95b1a

Browse files
authored
Merge pull request #145 from umc-commit/fix/front-user-artist-google
FIX : 토큰 유효시간 늘림
2 parents 274e160 + 82904d1 commit 2a95b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jwt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import jwt from "jsonwebtoken";
33
const JWT_SECRET = process.env.JWT_SECRET;
44

55
export const signJwt = (payload) =>
6-
jwt.sign(payload, JWT_SECRET, { expiresIn: "10m" });
6+
jwt.sign(payload, JWT_SECRET, { expiresIn: "1d" });
77

88
export const verifyJwt = (token) =>
99
jwt.verify(token, JWT_SECRET);

0 commit comments

Comments
 (0)