remove reference for CSRF_ENABLED, and use WTF_CSRF_ENABLED instead (#2946)

This commit is contained in:
timfeirg 2017-06-13 04:17:59 +08:00 committed by Maxime Beauchemin
parent 16141ecb94
commit 17bd7512ff
2 changed files with 1 additions and 2 deletions

View File

@ -156,7 +156,7 @@ of the parameters you can copy / paste in that configuration module: ::
SQLALCHEMY_DATABASE_URI = 'sqlite:////path/to/superset.db'
# Flask-WTF flag for CSRF
CSRF_ENABLED = True
WTF_CSRF_ENABLED = True
# Set this API key to enable Mapbox visualizations
MAPBOX_API_KEY = ''

View File

@ -16,7 +16,6 @@ SQL_SELECT_AS_CTA = True
SQL_MAX_ROW = 666
TESTING = True
CSRF_ENABLED = False
SECRET_KEY = 'thisismyscretkey'
WTF_CSRF_ENABLED = False
PUBLIC_ROLE_LIKE_GAMMA = True