mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-04 16:42:35 +00:00
Use 403 instead of 400
This commit is contained in:
parent
a1abee013c
commit
250e143084
@ -354,7 +354,7 @@ class RegisterRestServlet(ClientV1RestServlet):
|
|||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400, "HMAC incorrect",
|
403, "HMAC incorrect",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user