| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| authentication.py | ||
| decorators.py | ||
| helpers.py | ||
| middleware.py | ||
| models.py |
This commit extends the workaround in `cors_csrf` middleware to Django Rest Framework's SessionAuthentication, which calls Django's CSRF middleware directly. The workaround checks the cross domain whitelist and skips the CSRF referer check for domains on the whitelist.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| tests | Loading commit data... | |
| __init__.py | Loading commit data... | |
| authentication.py | Loading commit data... | |
| decorators.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| middleware.py | Loading commit data... | |
| models.py | Loading commit data... |