Skip to content

Commit

Permalink
Site: Increase session lifetime from 7 days to 180 days
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Oct 31, 2024
1 parent d4d102b commit bc052a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dojo_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def handle_authorization(default_handler):
def load(app):
db.create_all()

app.permanent_session_lifetime = datetime.timedelta(days=180)

CHALLENGE_CLASSES["dojo"] = DojoChallenge
FLAG_CLASSES["dojo"] = DojoFlag

Expand Down

0 comments on commit bc052a8

Please sign in to comment.