Update index.js
This commit is contained in:
parent
8b90df1373
commit
bf0d80b9d1
3
index.js
3
index.js
@ -148,6 +148,7 @@ ipcMain.on('openMSALogoutWindow', (ipcEvent) => {
|
|||||||
frame: true,
|
frame: true,
|
||||||
icon: getPlatformIcon('SealCircle')
|
icon: getPlatformIcon('SealCircle')
|
||||||
})
|
})
|
||||||
|
MSALogoutWindow.removeMenu()
|
||||||
MSALogoutWindow.loadURL('https://login.microsoftonline.com/common/oauth2/v2.0/logout')
|
MSALogoutWindow.loadURL('https://login.microsoftonline.com/common/oauth2/v2.0/logout')
|
||||||
MSALogoutWindow.webContents.on('did-navigate', () => {
|
MSALogoutWindow.webContents.on('did-navigate', () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -294,4 +295,4 @@ app.on('activate', () => {
|
|||||||
if (win === null) {
|
if (win === null) {
|
||||||
createWindow()
|
createWindow()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user