djaodjin / djaodjin-saas

Django application for software-as-service and subscription businesses
Other
564 stars 124 forks source link

factor the $.ajax() calls into a mixin #172

Closed smirolo closed 5 years ago

smirolo commented 5 years ago

For 2 reasons: 1/ It makes it easier to add the code required for multiple auth schema passed through HTTP Header (CSRF / JWT). 2/ Prevents easily forgotten parameters (see CVE-2015-9251).