This commit is contained in:
ziirish 2016-06-15 15:12:05 +02:00
parent 86d0d0c820
commit b82c9b1d11

View file

@ -217,8 +217,8 @@ 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 \
(app.secret_key.lower() == 'random' and gunicorn)):
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')
app.secret_key = 'Burp-UI'