From 4fc046e6a32d911f67051d26ae8ede496fa51d91 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 14 Oct 2016 02:38:17 +0900 Subject: [PATCH] Fix 2FA failure --- src/utils/authentication.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/authentication.js b/src/utils/authentication.js index c4f39e4..49c23ce 100644 --- a/src/utils/authentication.js +++ b/src/utils/authentication.js @@ -94,7 +94,9 @@ export default class Authentication { authWindow = new BrowserWindow({ width: 800, height: 600, - 'node-integration': false, + webPreferences: { + nodeIntegration: false, + }, }); authWindow.webContents.on('will-navigate', (event, url) => {