Skip to content

Commit f1219ff

Browse files
committed
Update jwt_utils.py
1 parent ede8454 commit f1219ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend-server/app/utils/jwt_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def create_jwt_token(
1616
if expires_delta:
1717
expire = datetime.utcnow() + expires_delta
1818
else:
19-
expire = datetime.utcnow() + timedelta(days=2)
19+
expire = datetime.utcnow() + timedelta(days=30)
2020
to_encode.update({"exp": expire})
2121
encoded_jwt = jwt.encode(to_encode, jwt_secret, algorithm=jwt_algorithm)
2222
return encoded_jwt

0 commit comments

Comments
 (0)