summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index e6d32acced..ce0fc53668 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -42,7 +42,7 @@ class Codes(object):
     EXCLUSIVE = "M_EXCLUSIVE"
     THREEPID_AUTH_FAILED = "M_THREEPID_AUTH_FAILED"
     THREEPID_IN_USE = "THREEPID_IN_USE"
-    INVALID_USER_NAME = "M_INVALID_USER_NAME"
+    INVALID_USERNAME = "M_INVALID_USERNAME"
 
 
 class CodeMessageException(RuntimeError):