Browse Source

Merge pull request 'Get device_id from body instead of auth data' (#27) from gnieto/conduit:fix/create-device into master

ruma
Timo Kösters 6 years ago
parent
commit
dd80a8591d
  1. 1
      src/client_server.rs

1
src/client_server.rs

@ -293,6 +293,7 @@ pub fn login_route( @@ -293,6 +293,7 @@ pub fn login_route(
// Generate new device id if the user didn't specify one
let device_id = body
.body
.device_id
.unwrap_or_else(|| utils::random_string(DEVICE_ID_LENGTH));

Loading…
Cancel
Save