Skip to content

Commit ccaba8b

Browse files
committed
Sets JWT timeout to 2 hrs
1 parent dfe8a3e commit ccaba8b

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"] = 60 # app.config["JWT_MAX_TIMEOUT"]
16+
app.config["JWT_ACCESS_TOKEN_EXPIRES"] = app.config["JWT_MAX_TIMEOUT"]
1717

1818
jwt = JWTManager(app)
1919

0 commit comments

Comments
 (0)