downgrade sdk and fix typo
This commit is contained in:
parent
c321db4cab
commit
27751c5e42
2 changed files with 10 additions and 6 deletions
|
@ -206,7 +206,7 @@
|
|||
"yarn": "^1.3"
|
||||
},
|
||||
"lbrySettings": {
|
||||
"lbrynetDaemonVersion": "0.53.3",
|
||||
"lbrynetDaemonVersion": "0.50.1",
|
||||
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
||||
"lbrynetDaemonDir": "static/daemon",
|
||||
"lbrynetDaemonFileName": "lbrynet"
|
||||
|
|
14
ui/index.jsx
14
ui/index.jsx
|
@ -127,11 +127,15 @@ Lbryio.setOverride(
|
|||
// Old users who haven't moved to storing the auth_token in a cookie
|
||||
// Get it => set it => delete from keychain
|
||||
ipcRenderer.once('auth-token-response', (event, keychainToken) => {
|
||||
Lbryio.authToken = keychainToken;
|
||||
setAuthToken(keychainToken);
|
||||
resolve(keychainToken);
|
||||
|
||||
ipcRenderer.send('delete-auth-token');
|
||||
if (keychainToken) {
|
||||
Lbryio.authToken = keychainToken;
|
||||
setAuthToken(keychainToken);
|
||||
resolve(keychainToken);
|
||||
ipcRenderer.send('delete-auth-token');
|
||||
} else {
|
||||
// No auth_token saved anywhere
|
||||
resolve('');
|
||||
}
|
||||
});
|
||||
|
||||
ipcRenderer.send('get-auth-token');
|
||||
|
|
Loading…
Add table
Reference in a new issue