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) => {