mirror of
https://github.com/element-hq/synapse.git
synced 2026-06-04 03:51:28 +00:00
improve human readable error message
This commit is contained in:
@@ -378,7 +378,8 @@ class RegisterRestServlet(RestServlet):
|
||||
if not check_3pid_allowed(self.hs, medium, address):
|
||||
raise SynapseError(
|
||||
403,
|
||||
"Third party identifier (email/phone number) is not allowed",
|
||||
"Third party identifiers (email/phone numbers)" +
|
||||
" are not authorized on this server",
|
||||
Codes.THREEPID_DENIED,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user