diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-04-23 17:22:47 +0200 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-04-23 17:22:47 +0200 |
commit | 09cb7dec5f824bcf15a26d17d753223066093d63 (patch) | |
tree | 89b87181ffc317cf969c6613963bc31d0b6c9c49 /synapse | |
parent | Implement use of internal-info (diff) | |
download | synapse-09cb7dec5f824bcf15a26d17d753223066093d63.tar.xz |
Improve error message
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
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, ) |