Richard van der Hoff dcfd71aa4c 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.
2016-07-18 15:23:54 +01:00
..
2016-01-07 04:26:29 +00:00
2016-07-06 15:56:59 +01:00
2016-01-07 04:26:29 +00:00
2016-03-21 15:06:07 +00:00
2016-07-18 15:23:54 +01:00
2016-03-11 16:27:50 +00:00
2016-06-08 14:47:42 +01:00
2016-01-07 04:26:29 +00:00