summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-06-16 11:32:08 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-06-16 11:33:16 +0100
commit53981c31e915239736accb50e9e99f168b03fee9 (patch)
treedf6e210a0c718f4a21254ff691ec520150f630a1
parentUpdate synapse/handlers/auth.py (diff)
downloadsynapse-53981c31e915239736accb50e9e99f168b03fee9.tar.xz
Change SynapseError comment
-rw-r--r--synapse/handlers/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index e46918ee56..39f92a06fb 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -66,9 +66,9 @@ def client_dict_convert_legacy_fields_to_identifier(
 
     Args:
         submission: The client dict to convert. Passed by reference and modified
+
     Raises:
-        SynapseError: if the dict contains a "medium" parameter that is anything other than
-            "email"
+        SynapseError: If the format of the client dict is invalid
     """
     if "user" in submission:
         submission["identifier"] = {"type": "m.id.user", "user": submission.pop("user")}