Skip to content
Permalink
Browse files

fix(backups): correctly disable node and isolate context

  • Loading branch information...
korhaliv committed May 22, 2019
1 parent 8693512 commit 384257ffbc1bd13ad54472de2129a5cf1139f898
Showing with 4 additions and 2 deletions.
  1. +4 −2 electron/walletBackup/gdrive/gdriveApi.js
@@ -130,8 +130,10 @@ export function createAuthWindow(oAuthClient, scope, windowParams = { width: 500
const authWindow = new BrowserWindow({
...windowParams,
show: true,
nodeIntegration: false,
contextIsolation: true,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
},
})

const authUrl = createAuthUrl({

0 comments on commit 384257f

Please sign in to comment.
You can’t perform that action at this time.