diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-15 15:38:29 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-15 15:38:29 +0100 |
commit | 2c00e1ecd9774463d687559d5df38b2a76340b32 (patch) | |
tree | 2da20ea3c6a7b030568244ec8d876f9389b601fb /cmdclient/console.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into registration-api... (diff) | |
download | synapse-2c00e1ecd9774463d687559d5df38b2a76340b32.tar.xz |
Be consistent when associating keys with login types for registration/login.
Diffstat (limited to 'cmdclient/console.py')
-rwxr-xr-x | cmdclient/console.py | 2 |
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 |