diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-15 12:34:23 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-18 15:23:54 +0100 |
commit | dcfd71aa4c4a1d3d71356fd2f5d854fb1db8fafa (patch) | |
tree | f001241f39da631aadc6988a81e8e54747ee076c /synctl | |
parent | Fix a doc-comment (diff) | |
download | synapse-dcfd71aa4c4a1d3d71356fd2f5d854fb1db8fafa.tar.xz |
Refactor login flow
Make sure that we have the canonical user_id *before* calling get_login_tuple_for_user_id. Replace login_with_password with a method which just validates the password, and have the caller call get_login_tuple_for_user_id. This brings the password flow into line with the other flows, and will give us a place to register the device_id if necessary.
Diffstat (limited to 'synctl')
0 files changed, 0 insertions, 0 deletions