-
Notifications
You must be signed in to change notification settings - Fork 167
Description
Describe the bug
A clear and concise description of what the bug is.
I've imported flask_monitoringdashboard in my flask app as follows:
import flask_monitoringdashboard as dashboard
and have used in the app as follows:
dashboard.config.from_file('config.cfg')
dashboard.bind(app)
I've the respective config.cfg file too.
Flask Monitoring Dashboard is working fine if there is no CSRF implementation in the app.
If I use CSRF in the app then it's working fine for the app, but while logging into the flask monitoring dashboard its throwing CSRF missing token exception.
So how to implement CSRF for the Flask Monitoring Dashboard ?
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. MacOS 10.14.3]
- Browser [e.g. chrome, safari]
- FMD Version [e.g. 2.1.4]
Additional context
Add any other context about the problem here.