Closed Alexmod closed 8 years ago
Set SEASURF_INCLUDE_OR_EXEMPT_VIEWS
to "include"
and then decorate the views you'd like to include for validation.
I added.
app.config['SEASURF_INCLUDE_OR_EXEMPT_VIEWS'] = 'include'
csrf = SeaSurf(app)
Everything works. Thank you!
Hi, How to disable CSRF protection in all views by default and then selectively protect only what I need?