summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-16 13:11:42 +0000
committerErik Johnston <erik@matrix.org>2015-03-16 13:11:42 +0000
commit250e143084dd1e6d29c6378abaa3b5177323ebf9 (patch)
tree5913c4248f0d58540857193009a40448017fb2bb /synapse/rest/client/v1
parentAdd note about disabling registration by default (diff)
downloadsynapse-250e143084dd1e6d29c6378abaa3b5177323ebf9.tar.xz
Use 403 instead of 400
Diffstat (limited to 'synapse/rest/client/v1')
-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",
             )