Use 'permanent' session with a timeout
This commit is contained in:
@@ -26,7 +26,7 @@ dictConfig({
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_prefixed_env()
|
||||
app.config['SESSION_PERMANENT'] = False
|
||||
app.config['SESSION_PERMANENT'] = True
|
||||
app.config['SESSION_TYPE'] = 'filesystem'
|
||||
Session(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user