This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auditors: @bbondy @diractdeltas
- Loading branch information
Showing
15 changed files
with
340 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const {app} = require('electron') | ||
const { app } = require('electron') | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bridiver
Author
Collaborator
|
||
const appActions = require('../../js/actions/appActions') | ||
const basicAuthState = require('../common/state/basicAuthState') | ||
const { makeImmutable } = require('../common/state/immutableUtil') | ||
|
@@ -11,7 +11,7 @@ const cleanupAuthCallback = (tabId) => { | |
} | ||
|
||
const basicAuth = { | ||
init: () => { | ||
init: (state, action) => { | ||
app.on('login', (e, webContents, request, authInfo, cb) => { | ||
e.preventDefault() | ||
let tabId = webContents.getId() | ||
|
@@ -29,6 +29,8 @@ const basicAuth = { | |
}) | ||
}) | ||
}) | ||
|
||
return state | ||
}, | ||
|
||
setLoginResponseDetail: (state, action) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
nit: we prefer the tightly wrapped brace in browser-laptop code for destructuring.