mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-10 09:39:17 -04:00

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.