We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The init_app function loads some options from app.config, I think this should be added to the docs, as it provides a mean of configuration.
self._csrf_name = app.config.get('CSRF_COOKIE_NAME', '_csrf_token') self._csrf_header_name = app.config.get('CSRF_HEADER_NAME', 'X-CSRFToken') self._csrf_disable = app.config.get('CSRF_DISABLE', app.config.get('TESTING', False)) self._csrf_timeout = app.config.get('CSRF_COOKIE_TIMEOUT', timedelta(days=5)) self._csrf_secure = app.config.get('CSRF_COOKIE_SECURE', False) self._csrf_httponly = app.config.get('CSRF_COOKIE_HTTPONLY', False) self._type = app.config.get('SEASURF_INCLUDE_OR_EXEMPT_VIEWS', 'exempt')
Especially CSRF_COOKIE_NAME which can be set to 'csrf_token' to get compatibility with Flask-Admin.
The text was updated successfully, but these errors were encountered:
I'm fine with adding more documentation.
Sorry, something went wrong.
Addressed in #104, but maybe needs a release? The website wasn't updated @maxcountryman
No branches or pull requests
The init_app function loads some options from app.config, I think this should be added to the docs, as it provides a mean of configuration.
Especially CSRF_COOKIE_NAME which can be set to 'csrf_token' to get compatibility with Flask-Admin.
The text was updated successfully, but these errors were encountered: