mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
refactoring + documentation
This commit is contained in:
parent
4db03d82d9
commit
b5f7873875
6 changed files with 247 additions and 138 deletions
|
|
@ -249,7 +249,7 @@ def init(conf=None, verbose=0, logfile=None, gunicorn=True, unittest=False, debu
|
|||
red = Redis(host=host, port=port)
|
||||
app.config['SESSION_TYPE'] = 'redis'
|
||||
app.config['SESSION_REDIS'] = red
|
||||
app.config['SESSION_USE_SIGNER'] = app.secret_key != None
|
||||
app.config['SESSION_USE_SIGNER'] = app.secret_key is not None
|
||||
app.config['SESSION_PERMANENT'] = False
|
||||
ses = Session()
|
||||
ses.init_app(app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue