Skip to content

Commit 7721869

Browse files
author
Emmanouil Konstantinidis
committed
Show window option
1 parent d999be8 commit 7721869

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/js/components/login.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ var Login = React.createClass({
2525
};
2626

2727
//Build the OAuth consent page URL
28-
var authWindow = new BrowserWindow({ width: 800, height: 600, show: false, 'node-integration': false });
28+
var authWindow = new BrowserWindow({ width: 800, height: 600, show: true, 'node-integration': false });
2929
var githubUrl = 'https://github.com/login/oauth/authorize?';
3030
var authUrl = githubUrl + 'client_id=' + options.client_id + '&scope=' + options.scope;
3131
authWindow.loadUrl(authUrl);
32-
authWindow.show();
3332

3433
authWindow.webContents.on('did-get-redirect-request', function(event, oldUrl, newUrl) {
3534

0 commit comments

Comments
 (0)