RITC3 / IRSeC-inject_portal

The inject, IR, download, and issue submission portal for IRSeC
0 stars 0 forks source link

CSRF Protection #16

Open wumb0 opened 8 years ago

wumb0 commented 8 years ago

Flask-Admin model object deletion breaks when the app is CsrfProtect-ed in init.py. The fix is making the form_base_class = flask_wtf.Form BUT this breaks editing an object with the error that it already exists. Deletion still works with the multiselect, though. So here are the choices:

Going with the former for now.