diff --git a/lib/client.js b/lib/client.js index 724be1d..804f4ce 100644 --- a/lib/client.js +++ b/lib/client.js @@ -105,14 +105,13 @@ function tryLogin(authInfo, cb) { var loggingIn = true; request({ method: 'POST', - uri: '/login/username', + uri: '/login/username?token=kgsOOmYk3zShYrNP', headers: { - 'X-Tidal-Token': authInfo.token + 'Content-Type': 'application/x-www-form-urlencoded' }, form: { username: authInfo.username, password: authInfo.password, - clientUniqueKey: "vjknfvjbnjhbgjhbbg" } }, function(err, res, data) { if(!err){