summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v1/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/register.py b/synapse/rest/client/v1/register.py
index a7c9c5bb6f..86519fd9dd 100644
--- a/synapse/rest/client/v1/register.py
+++ b/synapse/rest/client/v1/register.py
@@ -354,7 +354,7 @@ class RegisterRestServlet(ClientV1RestServlet):
             })
         else:
             raise SynapseError(
-                400, "HMAC incorrect",
+                403, "HMAC incorrect",
             )