Commit b12b50b
authored
fix: add Origin header in the proxy so to bypass django CSRF protections (#5591)
Fix the e2e tests that are failing due to the new CSRF protections introduced in Django 4.x. We simply add in the proxy the fake Origin header.
Resolves [MAASENG-4353](https://warthogs.atlassian.net/browse/MAASENG-4353)1 parent e953942 commit b12b50b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments