mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-08 22:32:39 -04:00
Use 403 instead of 400
This commit is contained in:
parent
a1abee013c
commit
250e143084
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ class RegisterRestServlet(ClientV1RestServlet):
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400, "HMAC incorrect",
|
403, "HMAC incorrect",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue