diff --git a/dist/bundle.js b/dist/bundle.js index 1b4c381..1d88766 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -804,7 +804,7 @@ Lbryio.authenticate = function () { Lbryio.authenticationPromise = new Promise(function (resolve, reject) { Lbryio.getAuthToken().then(function (token) { if (!token || token.length > 60) { - return [false]; + return false; } // check that token works diff --git a/src/lbryio.js b/src/lbryio.js index 5ab9d74..58d1f9a 100644 --- a/src/lbryio.js +++ b/src/lbryio.js @@ -110,7 +110,7 @@ Lbryio.authenticate = () => { Lbryio.getAuthToken() .then(token => { if (!token || token.length > 60) { - return [false]; + return false; } // check that token works