Skip to content

Commit b2af2e7

Browse files
committed
Sets JWT timeout to 60s for testing. NOT FOR PROD.
1 parent 625011b commit b2af2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
app.config["JWT_MAX_TIMEOUT"] = 7200 #Seconds
1414

1515
# We'll use max for default but can be reduced for testing
16-
app.config["JWT_ACCESS_TOKEN_EXPIRES"] = app.config["JWT_MAX_TIMEOUT"]
16+
app.config["JWT_ACCESS_TOKEN_EXPIRES"] = 60 # app.config["JWT_MAX_TIMEOUT"]
1717

1818
jwt = JWTManager(app)
1919

0 commit comments

Comments
 (0)