diff options
author | 2019-01-09 12:57:11 +0100 | |
---|---|---|
committer | 2019-01-09 12:57:11 +0100 | |
commit | eee1fe620473b50ac74ce41a030dee5693227be8 (patch) | |
tree | f9cb24aa00a490b0f0a6e13db6957522fba150b1 /src/features/basicAuth/mainIpcHandler.js | |
parent | Ignore ERR_NETWORK_CHANGED error (diff) | |
parent | Add TODO (diff) | |
download | ferdium-app-eee1fe620473b50ac74ce41a030dee5693227be8.tar.gz ferdium-app-eee1fe620473b50ac74ce41a030dee5693227be8.tar.zst ferdium-app-eee1fe620473b50ac74ce41a030dee5693227be8.zip |
Merge branch 'feature/basicAuth' into develop
Diffstat (limited to 'src/features/basicAuth/mainIpcHandler.js')
-rw-r--r-- | src/features/basicAuth/mainIpcHandler.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/features/basicAuth/mainIpcHandler.js b/src/features/basicAuth/mainIpcHandler.js new file mode 100644 index 000000000..87ac0b6df --- /dev/null +++ b/src/features/basicAuth/mainIpcHandler.js | |||
@@ -0,0 +1,9 @@ | |||
1 | const debug = require('debug')('Franz:feature:basicAuth:main'); | ||
2 | |||
3 | export default function mainIpcHandler(mainWindow, authInfo) { | ||
4 | debug('Sending basic auth call', authInfo); | ||
5 | |||
6 | mainWindow.webContents.send('feature:basic-auth', { | ||
7 | authInfo, | ||
8 | }); | ||
9 | } | ||