summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-04-23 17:22:47 +0200
committerBrendan Abolivier <babolivier@matrix.org>2020-04-23 17:22:47 +0200
commit09cb7dec5f824bcf15a26d17d753223066093d63 (patch)
tree89b87181ffc317cf969c6613963bc31d0b6c9c49 /synapse/rest
parentImplement use of internal-info (diff)
downloadsynapse-09cb7dec5f824bcf15a26d17d753223066093d63.tar.xz
Improve error message
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index 0c50988899..8e207dec40 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -126,7 +126,7 @@ class EmailRegisterRequestTokenRestServlet(RestServlet):
         if not await check_3pid_allowed(self.hs, "email", email):
             raise SynapseError(
                 403,
-                "Your email domain is not authorized to register on this server",
+                "You currently can't create an account with this email address",
                 Codes.THREEPID_DENIED,
             )