Get device_id from body instead of auth data
Device_id was retrieved from the auth data instead of login's body and this was causing that a new device was created on every login. This is (I guess) provoking that some sytests are failing (for example, "POST /login returns the same device_id as that in the request").
Please register or sign in to comment