summary refs log tree commit diff
path: root/cmdclient
diff options
context:
space:
mode:
Diffstat (limited to 'cmdclient')
-rwxr-xr-xcmdclient/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdclient/console.py b/cmdclient/console.py
index 5a9d4c3c4c..d9c6ec6a70 100755
--- a/cmdclient/console.py
+++ b/cmdclient/console.py
@@ -162,7 +162,7 @@ class SynapseCmd(cmd.Cmd):
             "type": "m.login.password"
         }
         if "userid" in args:
-            body["user_id"] = args["userid"]
+            body["user"] = args["userid"]
         if password:
             body["password"] = password