Skip to content

Commit

Permalink
remove reference for CSRF_ENABLED, and use WTF_CSRF_ENABLED instead (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
timfeirg authored and mistercrunch committed Jun 12, 2017
1 parent 16141ec commit 17bd751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
1 change: 0 additions & 1 deletion tests/superset_test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
SQL_MAX_ROW = 666

TESTING = True
CSRF_ENABLED = False
SECRET_KEY = 'thisismyscretkey'
WTF_CSRF_ENABLED = False
PUBLIC_ROLE_LIKE_GAMMA = True
Expand Down

0 comments on commit 17bd751

Please sign in to comment.