0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-21 07:33:47 +01:00
dendrite/clientapi/auth
Andrew Morgan 78032b3f4c
Correctly create new device when device_id is passed to /login ()
Fixes https://github.com/matrix-org/dendrite/issues/401

Currently when passing a `device_id` parameter to `/login`, which is [supposed](https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login) to return a device with that ID set, it instead just generates a random `device_id` and hands that back to you.

The code was already there to do this correctly, it looks like it had just been broken during some change. Hopefully sytest will prevent this from becoming broken again.
2019-07-22 15:05:38 +01:00
..
authtypes use go module for dependencies () 2019-05-21 21:56:55 +01:00
storage Correctly create new device when device_id is passed to /login () 2019-07-22 15:05:38 +01:00
auth.go Fix pipeline, emoji and syntax () 2019-06-19 14:05:03 +01:00