summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNicolas Chamo <nicolas@chamo.com.ar>2020-12-01 10:24:56 -0300
committerGitHub <noreply@github.com>2020-12-01 13:24:56 +0000
commit3f0cba657ceb6e5286f52b06a74e969e4af9a146 (patch)
treebedff5ec76175fd1759672653a56cbcc1efb1f94 /synapse
parentDon't offer password login when it is disabled (#8835) (diff)
downloadsynapse-3f0cba657ceb6e5286f52b06a74e969e4af9a146.tar.xz
Allow Date header through CORS (#8804)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 46cdfad04a..6a4e429a6c 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -674,7 +674,7 @@ def set_cors_headers(request: Request):
     )
     request.setHeader(
         b"Access-Control-Allow-Headers",
-        b"Origin, X-Requested-With, Content-Type, Accept, Authorization",
+        b"Origin, X-Requested-With, Content-Type, Accept, Authorization, Date",
     )