Browse Source

Certification Error to Warning

pull/367/head
Ramiro Saenz 9 years ago
parent
commit
421c62b5ed
  1. 4
      electron/main.js

4
electron/main.js

@ -306,10 +306,10 @@ app.on('certificate-error', function(event, webContents, url, error, certificate
} else { } else {
callback(false); callback(false);
dialog.showMessageBox(mainWindow, { dialog.showMessageBox(mainWindow, {
title: 'Certification Error' title: 'Certification Warning'
,message: 'The service with the following URL has an invalid authority certification.\n\n'+url+'\n\nIf is a Custom Service, you have to remove it and add it again, enabling the "Trust invalid authority certificates" in the Options.' ,message: 'The service with the following URL has an invalid authority certification.\n\n'+url+'\n\nIf is a Custom Service, you have to remove it and add it again, enabling the "Trust invalid authority certificates" in the Options.'
,buttons: ['OK'] ,buttons: ['OK']
,type: 'error' ,type: 'warning'
}, function() { }, function() {
}); });

Loading…
Cancel
Save