aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/basicAuth/mainIpcHandler.js
blob: ae4e7cf9384eaee26bb18df53b238dd27170123d (plain) (blame)
1
2
3
4
5
6
7
8
9
const debug = require('debug')('Ferdi:feature:basicAuth:main');

export default function mainIpcHandler(mainWindow, authInfo) {
  debug('Sending basic auth call', authInfo);

  mainWindow.webContents.send('feature:basic-auth', {
    authInfo,
  });
}