diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-16 13:11:42 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-16 13:11:42 +0000 |
commit | 250e143084dd1e6d29c6378abaa3b5177323ebf9 (patch) | |
tree | 5913c4248f0d58540857193009a40448017fb2bb /synapse/rest | |
parent | Add note about disabling registration by default (diff) | |
download | synapse-250e143084dd1e6d29c6378abaa3b5177323ebf9.tar.xz |
Use 403 instead of 400
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/register.py | 2 |
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", ) |