commit
60d8040189
2 changed files with 2 additions and 2 deletions
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
|
@ -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
|
||||
|
|
|
@ -110,7 +110,7 @@ Lbryio.authenticate = () => {
|
|||
Lbryio.getAuthToken()
|
||||
.then(token => {
|
||||
if (!token || token.length > 60) {
|
||||
return [false];
|
||||
return false;
|
||||
}
|
||||
|
||||
// check that token works
|
||||
|
|
Loading…
Reference in a new issue