mirror of
https://github.com/element-hq/synapse
synced 2024-09-06 03:00:05 +00:00
Merge pull request #2285 from krombel/allow_authorization_header
allow Authorization header
This commit is contained in:
commit
0a9315bbc7
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ def set_cors_headers(request):
|
||||||
)
|
)
|
||||||
request.setHeader(
|
request.setHeader(
|
||||||
"Access-Control-Allow-Headers",
|
"Access-Control-Allow-Headers",
|
||||||
"Origin, X-Requested-With, Content-Type, Accept"
|
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue