summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-05-08 16:08:58 -0400
committerGitHub <noreply@github.com>2020-05-08 16:08:58 -0400
commit0ad6d28b0dec06d5e7478984280b4e81ef0f0256 (patch)
treed518483b8aac4fa9c2c30d64fbb23deaa10d4d84 /synapse/rest
parentFix errors from malformed log line (#7454) (diff)
downloadsynapse-0ad6d28b0dec06d5e7478984280b4e81ef0f0256.tar.xz
Rework UI Auth session validation for registration (#7455)
Be less strict about validation of UI authentication sessions during
registration to match client expecations.
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/register.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index af08cc6cce..e77dd6bf92 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -516,6 +516,7 @@ class RegisterRestServlet(RestServlet):
             body,
             self.hs.get_ip_from_request(request),
             "register a new account",
+            validate_clientdict=False,
         )
 
         # Check that we're not trying to register a denied 3pid.