mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 11:05:49 +03:00
allow Authorization header which handling got implemented in #1098
Signed-off-by: Matthias Kesler <krombel@krombel.de>
This commit is contained in:
parent
052c5d19d5
commit
1ff419d343
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