Skip to content

Commit

Permalink
session refresh each request
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykeios1221 committed Jan 20, 2024
1 parent ff63780 commit e2e1b62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

# app.secret_key = secrets.token_hex(32)
app.secret_key = 'skig'

app.config['SESSION_REFRESH_EACH_REQUEST'] = True
app.config['PERMANENT_SESSION_LIFETIME'] = 120

# Database connection setup
Expand Down

0 comments on commit e2e1b62

Please sign in to comment.