mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
lint
This commit is contained in:
parent
86d0d0c820
commit
b82c9b1d11
1 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ def init(conf=None, verbose=0, logfile=None, gunicorn=True, unittest=False, debu
|
|||
app.setup(app.config['CFG'])
|
||||
|
||||
# manage application secret key
|
||||
if app.secret_key and (app.secret_key.lower() == 'none' or \
|
||||
if app.secret_key and (app.secret_key.lower() == 'none' or
|
||||
(app.secret_key.lower() == 'random' and gunicorn)):
|
||||
logger.warning('Your setup is not secure! Please consider setting a'
|
||||
' secret key in your configuration file')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue